tor-browser

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

c16-descendant-001.xht (978B)


      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: Contextual selectors</title>
      5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#contextual-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="c16-descendant-001-ref.xht" />
      9 
     10   <style type="text/css"><![CDATA[
     11    ul {color: green;}
     12    p {color: red;}
     13    html body div p {color: green;}
     14    span, ul li li {color: red;}
     15   ]]></style>
     16   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#descendant-selectors" title="5.5 Descendant selectors"/>
     17  </head>
     18  <body>
     19   <div><p> This sentence should be green. </p></div>
     20   <ul>
     21    <li>
     22     <span> </span> This sentence should be green.
     23    </li>
     24   </ul>
     25  </body>
     26 </html>