tor-browser

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

html-attribute-001.xht (1372B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      2 <html xmlns="http://www.w3.org/1999/xhtml">
      3     <head>
      4         <title>CSS Test: Attribute 'align' vs. CSS 'caption-side' specificity</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
      6         <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint" />
      7         <link rel="help" href="http://www.w3.org/TR/css-cascade-3/#preshint" />
      8         <link rel="help" href="http://www.w3.org/TR/css-cascade-4/#preshint" />
      9         <meta name="assert" content="Attribute 'align' has a specificity of zero and is overridden by CSS." />
     10         <style type="text/css">
     11             div
     12             {
     13                 border: 1px solid black;
     14                 float: left;
     15             }
     16             table
     17             {
     18                 width: 300px;
     19             }
     20             *
     21             {
     22                 caption-side: bottom;
     23             }
     24         </style>
     25     </head>
     26     <body>
     27         <p>Test passes if the word "Bottom" is centered inside the black box and is below the word "Top".</p>
     28         <div>
     29             <table>
     30                 <caption align="right">Bottom</caption>
     31                 <tr>
     32                     <td>Top</td>
     33                 </tr>
     34             </table>
     35         </div>
     36     </body>
     37 </html>