layout/reftests/bugs/368155-negative-margins-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Minimum intrinsic widths combined with negative margins</title>
michael@0 5 <style type="text/css">
michael@0 6
michael@0 7 td { height: 2.5em; }
michael@0 8
michael@0 9 span {
michael@0 10 display: inline-block;
michael@0 11 height: 0.5em;
michael@0 12 width: 1em;
michael@0 13 }
michael@0 14
michael@0 15 </style>
michael@0 16 </head>
michael@0 17 <body>
michael@0 18
michael@0 19 <table border width="1"><tr><td>
michael@0 20 <span style="margin-right: -1em"></span>
michael@0 21 </td></tr></table>
michael@0 22 <table border width="1"><tr><td>
michael@0 23 <span style="margin-left: -1em"></span>
michael@0 24 </td></tr></table>
michael@0 25 <table border width="1"><tr><td>
michael@0 26 <span style="margin: 0 -0.5em"></span>
michael@0 27 </td></tr></table>
michael@0 28
michael@0 29 <table border width="1"><tr><td>
michael@0 30 <span style="margin-right: -2em"></span>
michael@0 31 </td></tr></table>
michael@0 32 <table border width="1"><tr><td>
michael@0 33 <span style="margin-left: -2em"></span>
michael@0 34 </td></tr></table>
michael@0 35 <table border width="1"><tr><td>
michael@0 36 <span style="margin: 0 -1em"></span>
michael@0 37 </td></tr></table>
michael@0 38
michael@0 39 <table border width="1"><tr><td>
michael@0 40 <span style="margin-right: -2em"></span>&#x200b;<span style="width: 3em"></span>
michael@0 41 </td></tr></table>
michael@0 42
michael@0 43 <table border width="1"><tr><td>
michael@0 44 <span style="width: 3em"></span>&#x200b;<span style="margin-right: -2em"></span>
michael@0 45 </td></tr></table>
michael@0 46
michael@0 47 <table border width="1"><tr><td>
michael@0 48 <span style="width: 3em;"></span>&#x200b;<span style="margin-left: -2em"></span>
michael@0 49 </td></tr></table>
michael@0 50
michael@0 51 <table border width="1"><tr><td style="text-indent: -.75em">
michael@0 52 <span style="margin-right: -.75em"></span>&#x200b;<span></span>
michael@0 53 </td></tr></table>
michael@0 54
michael@0 55 </body>
michael@0 56 </html>

mercurial