tor-browser

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

case-sensitive-004.xht (1432B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Case-sensitivity of :lang() arguments</title>
      5   <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/"/>
      6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters"/>
      7   <link rel="match" href="case-sensitive-003-ref.xht"/>
      8   <meta name="assert" content="The argument to :lang() is ASCII case-insensitive."/>
      9   <style type="text/css">
     10     .test-folding { color: red; }
     11 
     12     :lang(en) {
     13       color: green;
     14     }
     15     :lang(FR) {
     16       color: green;
     17     }
     18 
     19     /* test for ASCII (not UNICODE) case-insensitivity */
     20     .test-unicode { color: green; }
     21     :lang(fİ) {
     22       color: red;
     23     }
     24     :lang(Fı) {
     25       color: red;
     26     }
     27     :lang(&#x212a;l) {
     28       color: red;
     29     }
     30   </style>
     31 
     32  </head>
     33  <body>
     34   <div class="test-folding">
     35    <p lang="En">This sentence must be green.</p>
     36    <p xml:lang="eN">This sentence must be green.</p>
     37    <p lang="fr">This sentence must be green.</p>
     38    <p xml:lang="fR">This sentence must be green.</p>
     39   </div>
     40   <div class="test-unicode">
     41    <p xml:lang="kl">This sentence must be green.</p>
     42    <p lang="KL">This sentence must be green.</p>
     43    <p xml:lang="fi">This sentence must be green.</p>
     44    <p lang="FI">This sentence must be green.</p>
     45   </div>
     46  </body>
     47 </html>