tor-browser

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

universal-selector-002.xht (1138B)


      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: Implied universal selector for pseudo selector</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#universal-selector" />
      7         <link rel="match" href="universal-selector-002-ref.xht"/>
      8         <link rel="mismatch" href="universal-selector-002-notref.xht"/>
      9         <meta name="assert" content="If the universal selector is not the only component of a simple pseudo selector the '*' can be omitted." />
     10         <style type="text/css">
     11             :first-child
     12             {
     13                 /* This needs to be a non-inherited property, as :root always matches :first-child */
     14                 border: 10px solid blue;
     15             }
     16         </style>
     17     </head>
     18     <body>
     19         <div>Filler Text</div>
     20         <p>Test passes if there is a blue border around the viewport and
     21           around "Filler Text" above.</p>
     22     </body>
     23 </html>