tor-browser

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

fieldset-006-ref.html (1018B)


      1 <!DOCTYPE html>
      2 <html class="reftest-paged">
      3 <head>
      4  <title>Reference: fieldset fragmentation</title>
      5  <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=471015">
      6  <meta name="flags" content="paged">
      7  <style>
      8 @page { size:5in 3in; margin:0.5in; }
      9 html,body {
     10    color:black; background-color:white; font:0.5in/1 monospace; padding:0; margin:0;
     11 }
     12 fieldset {
     13  position: relative;
     14  padding: 0;
     15  margin: 0;
     16  padding-top: 0.5em;
     17  margin-top: 0.5em;
     18  border: 1em solid black;
     19  border-bottom-color: white;
     20  page-break-after:always;
     21 }
     22 div {
     23  position: absolute;
     24  top: -1em;
     25  width: 3em;
     26  height: 1em;
     27  background-color: white;
     28 }
     29 p { margin:0 }
     30 x { display:block; height:1em; }
     31 </style>
     32 </head>
     33 <body>
     34  <fieldset><div></div><x>A<br>B</x></fieldset>
     35  <p style="padding-left:1em">C<br>D<br>E</p>
     36  <p style="margin-top:-3em">AFTER</p>
     37  <p style="height:5em"></p>
     38  <p style="width:3em; height:1em; background:black; position: relative; left:1em"></p>
     39 </body>
     40 </html>