tor-browser

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

descendant-selector-001.xht (1012B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      3 <html xmlns="http://www.w3.org/1999/xhtml">
      4  <head>
      5   <title>CSS Test: Selectors: Descendant selectors and universal selector</title>
      6   <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
      7   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#descendant-selectors" />
      8   <link rel="match" href="descendant-selector-000-ref.xht"/>
      9   <meta name="assert" content="Browsers should apply each rule to the descendant elements"/>
     10 <style type="text/css">
     11 body * {border: thin solid orange}
     12 body div {border: none}
     13 div * {border: thin solid blue}
     14 body h4 {border: none}
     15 h4  * {border: thin solid fuchsia}
     16 </style>
     17  </head>
     18  <body>
     19 <p>This paragraph should have a thin orange border.</p>
     20 <div><p>This paragraph should have a thin blue border.</p></div>
     21 <h4><span>This text should have a thin fuchsia border.</span></h4>
     22  </body>
     23 </html>