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.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>Testcase for resizing elements that depend on containing block height</title>
     5 <style type="text/css">
     6 html, body { height: 100%; }
     7 div { height: 3%; }
     8 img { image-rendering: -moz-crisp-edges; }
     9 </style>
    10 </head>
    11 <body>
    13 <div><span><img src="blue-600x58.png" width="100" style="height: 50%"></span></div>
    14 <div><span><img src="blue-600x58.png" width="2" style="min-height: 50%"></span></div>
    15 <div><span><img src="blue-600x58.png" width="100" style="max-height: 50%"></span></div>
    17 <div><span><span style="position:relative; top: 30%">text</span></span></div>
    18 <div><span><span style="position:relative; bottom: 30%">text</span></span></div>
    20 </body>
    21 </html>

mercurial