tor-browser

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

has-style-sharing-pseudo-005.html (699B)


      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="match" href="has-style-sharing-pseudo-005-ref.html">
      6 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
      7 <meta name="assert" content="Ensure that style sharing optimizations do not interfere with :has() selector matching.">
      8 <style>
      9 div {
     10  width: 20px;
     11  height: 20px;
     12 }
     13 
     14 .cousin:has(> span)::after {
     15  font: 15px/1 Ahem;
     16  content: 'x';
     17 }
     18 </style>
     19 <div><div class="cousin"><span></span></div></div>
     20 <div><div class="cousin"></div></div>