tor-browser

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

c25-pseudo-elmnt-000.xht (1320B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3  <head>
      4   <title>CSS Test: Pseudo-elements in Selectors</title>
      5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#pseudo-elements-in-selectors"/>
      6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
      7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      8   <link rel="match" href="c25-pseudo-elmnt-000-ref.xht" />
      9 
     10   <style type="text/css"><![CDATA[
     11    .test { color: red; }
     12    p:first-line { background: green; }
     13    p.test:first-line { color: white; }
     14    p:first-line.two { color: yellow; background: red; }
     15   ]]></style>
     16   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#pseudo-elements" title="5.10 Pseudo-elements and pseudo-classes"/>
     17   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" title="5.12.1 The :first-line pseudo-element"/>
     18   <meta name="flags" content="invalid" />
     19 
     20  </head>
     21  <body>
     22   <div>There should be two sentences below.</div>
     23   <p class="test one"> This sentence should have white text on green background. </p>
     24   <p class="test two"> This sentence should have white text on green background. </p>
     25  </body>
     26 </html>