layout/reftests/text-indent/text-indent-intrinsic-pref-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Test for intrinsic widths and text-indent</title>
     5 <style type="text/css">
     7 body { font-size: 12px; }
     9 body > div, body > pre {
    10 	float: left; clear: left; margin: 1px; height: 2em;
    11 	border: medium solid;
    12 }
    14 </style>
    15 </head>
    16 <body>
    18 <!-- test against inline margin -->
    19 <div><span style="margin-left: 3em">X</span></div>
    21 <!-- test against block padding -->
    22 <div style="padding-left: 3em;">X</div>
    24 <!-- test against block width -->
    25 <div style="width: 4em;"></div>
    27 <div style="width: 4em;"></div>
    28 <div style="width: 6em;"></div>
    29 <div style="width: 10em;"></div>
    30 <div style="width: 4em;"></div>
    31 <div style="width: 6em;"></div>
    32 <div style="width: 4em;"></div>
    33 <div style="width: 6em;"></div>
    35 </body>
    36 </html>

mercurial