tor-browser

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

spacing-invariance-standards-pref.html (788B)


      1 <!DOCTYPE HTML>
      2 <html>
      3 <head>
      4 <title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
      5 <style type="text/css">
      6 
      7 html, body { margin: 0 } /* no collapsing */
      8 
      9 table, td {
     10  margin: 0;
     11 }
     12 
     13 * { border-color: white; /* hidden */ }
     14 table, td { border-style: solid; }
     15 body { background: white; color: black; }
     16 
     17 div { background: olive; color: black; }
     18 
     19 </style>
     20 </head>
     21 <body>
     22 <table cellpadding="3" cellspacing="5" border="2"><tr><td colspan="2" style="border-width: 1px"> <!-- td border currently already 1px -->
     23  <table style="border-spacing: 5px 7px; border-width: 2px 3px 4px 5px"><tr><td colspan="3" style="padding: 4px 5px 6px 7px;border-width: 4px 5px 6px 7px">
     24    <div>This is some text.</div>
     25  </td></tr></table>
     26 </td></tr></table>
     27 </body>
     28 </html>