tor-browser

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

has-style-sharing-pseudo-004-ref.html (623B)


      1 <!DOCTYPE html>
      2 <link rel="author" title="David Shin" href="mailto:dshin@mozilla.com">
      3 <link rel="help" href="https://drafts.csswg.org/selectors-4/#relational">
      4 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1876962">
      5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      6 <meta name="assert" content="Ensure that style sharing optimizations do not interfere with :has() selector matching.">
      7 <style>
      8 div {
      9  width: 20px;
     10  height: 20px;
     11 }
     12 
     13 .after::after {
     14  font: 15px/1 Ahem;
     15  content: "x";
     16 }
     17 </style>
     18 <div><span></span><span></span></div>
     19 <div><span class="after"></span><span></span></div>