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

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <title>Testcase for resizing elements that depend on containing block width</title>
michael@0 5 <style type="text/css">
michael@0 6 </style>
michael@0 7 </head>
michael@0 8 <body>
michael@0 9
michael@0 10 <div><span><span style="margin-right: 10%">text</span></span></div>
michael@0 11 <div><span><span style="margin-left: 10%">text</span></span></div>
michael@0 12 <div><span><img src="blue-600x58.png" height="10" style="margin-top: 2%"></span></div>
michael@0 13 <div><span><img src="blue-600x58.png" height="10" style="margin-right: 10%"></span></div>
michael@0 14 <div><span><img src="blue-600x58.png" height="10" style="margin-bottom: 2%"></span></div>
michael@0 15 <div><span><img src="blue-600x58.png" height="10" style="margin-left: 10%"></span></div>
michael@0 16
michael@0 17 <div><span><span style="background:yellow; padding-top: 2%">text</span></span></div>
michael@0 18 <div><span><span style="background:yellow; padding-right: 10%">text</span></span></div>
michael@0 19 <div><span><span style="background:yellow; padding-bottom: 2%">text</span></span></div>
michael@0 20 <div><span><span style="background:yellow; padding-left: 10%">text</span></span></div>
michael@0 21
michael@0 22 <div><span><img src="blue-600x58.png" height="10" style="width: 10%"></span></div>
michael@0 23 <div><span><img src="blue-600x58.png" height="2" style="min-width: 50%"></span></div>
michael@0 24 <div><span><img src="blue-600x58.png" height="10" style="max-width: 1%"></span></div>
michael@0 25
michael@0 26 <div><span><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></span></div>
michael@0 27 <div><span><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></span></div>
michael@0 28 <div><span><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></span></div>
michael@0 29
michael@0 30 <div><span><span style="position:relative; right: 3%">text in a span</span></span></div>
michael@0 31 <div><span><span style="position:relative; left: 3%">text in a span</span></span></div>
michael@0 32
michael@0 33 </body>
michael@0 34 </html>

mercurial