layout/reftests/bugs/163504-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 height</title>
michael@0 5 <style type="text/css">
michael@0 6 html, body { height: 100%; }
michael@0 7 div { height: 3%; }
michael@0 8 img { image-rendering: -moz-crisp-edges; }
michael@0 9 </style>
michael@0 10 </head>
michael@0 11 <body>
michael@0 12
michael@0 13 <div><span><img src="blue-600x58.png" width="100" style="height: 50%"></span></div>
michael@0 14 <div><span><img src="blue-600x58.png" width="2" style="min-height: 50%"></span></div>
michael@0 15 <div><span><img src="blue-600x58.png" width="100" style="max-height: 50%"></span></div>
michael@0 16
michael@0 17 <div><span><span style="position:relative; top: 30%">text</span></span></div>
michael@0 18 <div><span><span style="position:relative; bottom: 30%">text</span></span></div>
michael@0 19
michael@0 20 </body>
michael@0 21 </html>

mercurial