tor-browser

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

selectors-parsing-001.xht (908B)


      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: CSS: Selector Parsing and Invalid Pseudo-Elements</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/parsing/001.xml" type="application/xhtml+xml"/>
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors" />
      8   <link rel="match" href="selectors-parsing-001-ref.xht"/>
      9   <style type="text/css">
     10    p { background: white; color: green; }
     11    p:invalidPseudoClass, p.test1 { color: yellow; background: red; }
     12    p::invalidPseudoElement, p.test2 { color: yellow; background: red; }
     13   </style>
     14  </head>
     15  <body>
     16   <p class="test1">This should be green.</p>
     17   <p class="test2">This should be green.</p>
     18  </body>
     19 </html>