tor-browser

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

style-attr-cascade-004.xht (1014B)


      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: style attribute vs. important tag selectors</title>
      5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
      6   <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/cascade/style/004.xml"/>
      8   <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#important-rules" />
      9   <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#cascading-order"/>
     10   <link rel="help" href="http://www.w3.org/TR/css-style-attr/#interpret"/>
     11   <link rel="match" href="reference/ref-white-on-green-background.html" />
     12   <style type="text/css">
     13    div { color: white ! important; background: green ! important; }
     14   </style>
     15  </head>
     16  <body>
     17   <div style="color: yellow; background: red;">This should be white on green.</div>
     18  </body>
     19 </html>