tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

before-preceding-whitespace-dynamic.html (568B)


      1 <!DOCTYPE html>
      2 <title>Removing an empty inline should not cause a space after ::before content to collapse</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-pseudo/#generated-content">
      4 <link rel="help" href="https://drafts.csswg.org/css-text/#white-space-rules">
      5 <link rel="match" href="../reference/pass_if_two_words.html">
      6 <style>
      7  div::before { content: "two" }
      8 </style>
      9 <p>There should be a space between "two" and "words" below.</p>
     10 <div> <span id="rm"></span><span>words</span></div>
     11 <script>
     12  rm.offsetTop;
     13  rm.remove();
     14  rm.offsetTop;
     15 </script>