layout/reftests/bugs/28811-1-inner.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.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Testcase for resizing elements that depend on containing block width</title>
     5 <style type="text/css">
     6 </style>
     7 </head>
     8 <body>
    10 <div><span style="margin-right: 10%">text</span></div>
    11 <div><span style="margin-left: 10%">text</span></div>
    12 <div><img src="blue-600x58.png" height="10" style="margin-top: 2%"></div>
    13 <div><img src="blue-600x58.png" height="10" style="margin-right: 10%"></div>
    14 <div><img src="blue-600x58.png" height="10" style="margin-bottom: 2%"></div>
    15 <div><img src="blue-600x58.png" height="10" style="margin-left: 10%"></div>
    17 <div><span style="background:yellow; padding-top: 2%">text</span></div>
    18 <div><span style="background:yellow; padding-right: 10%">text</span></div>
    19 <div><span style="background:yellow; padding-bottom: 2%">text</span></div>
    20 <div><span style="background:yellow; padding-left: 10%">text</span></div>
    22 <div><img src="blue-600x58.png" height="10" style="width: 10%"></div>
    23 <div><img src="blue-600x58.png" height="2" style="min-width: 50%"></div>
    24 <div><img src="blue-600x58.png" height="10" style="max-width: 1%"></div>
    26 <div><span style="display:inline-block">This is an inline-block that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</span></div>
    27 <div><button>This is a button that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</button></div>
    28 <div><fieldset>This is a fieldset that contains enough text that its shrink-wrap width will be based on the available size in its container.  Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.</fieldset></div>
    30 <div><span style="position:relative; right: 3%">text in a span</span></div>
    31 <div><span style="position:relative; left: 3%">text in a span</span></div>
    33 </body>
    34 </html>

mercurial