tor-browser

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

css3-selectors-lang-054.html (833B)


      1 <!DOCTYPE html>
      2 <html  lang="en" >
      3 <head>
      4 <meta charset="utf-8"/>
      5 <title>[lang="cs-CZ"], lang="cs-Latn-CZ"</title>
      6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
      7 <link rel='help' href='http://www.w3.org/TR/css3-selectors/#attribute-selectors'>
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <style type='text/css'>
     11 .test div { width: 50px; }
     12 #box[lang='cs-CZ'] { width: 100px; }
     13 </style>
     14 </head>
     15 <body>
     16 
     17 
     18 
     19 <div class="test"><div id="box" lang="cs-Latn-CZ">&#xA0;</div></div>
     20 
     21 
     22 <script>
     23 test(function() {
     24 assert_equals(document.getElementById('box').offsetWidth, 50);
     25 }, "A lang= value with language and region subtags will NOT match a lang attribute value with language, script and region subtags.");
     26 </script>
     27 
     28 <div id='log'></div>
     29 
     30 </body>
     31 </html>