tor-browser

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

first-line-nested-gcs.html (504B)


      1 <!doctype html>
      2 <title>CSS Pseudo Test: Query ::first-line computed style before outer block ::first-line matches</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo">
      4 <link rel="match" href="first-line-green-ref.html">
      5 <style>
      6  #outer::first-line { color: green }
      7 </style>
      8 <div id="outer">
      9  <div id="inner"></div>
     10 </div>
     11 <script>
     12  getComputedStyle(inner, "::first-line").color;
     13  inner.appendChild(document.createTextNode("This text should be green."));
     14 </script>