tor-browser

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

lang-025.html (592B)


      1 <!DOCTYPE html>
      2 <html lang="en-US">
      3 <meta charset="utf-8">
      4 <title>CSS Selectors 4 - :lang matching</title>
      5 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
      6 <link rel="help" href="https://drafts.csswg.org/selectors-4/#the-lang-pseudo">
      7 <link rel="match" href="lang-000-ref.html">
      8 
      9 <style>
     10 div.test { color: red; }
     11 :lang("art") { color: green; }
     12 </style>
     13 
     14 <!-- This can match :lang("art"), because "-x-lojban" is a private subtag,
     15     so this is *not* the grandfathered "art-lojban" tag. -->
     16 <div class="test"><span lang="art-x-lojban">This should be green</span></div>