layout/reftests/bugs/9458-zorder-5.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>CSS 2.1 Test Suite: Test for z-ordering of inline-block</title>
michael@0 5 <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
michael@0 6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
michael@0 7 <link rel="help" href="http://www.w3.org/TR/CSS21/zindex.html#painting-order" />
michael@0 8 <style type="text/css">
michael@0 9 div#test > span { display:inline-block; vertical-align: top; }
michael@0 10 div#test > span > span { display: block; background: green; color: green; border-bottom: 0.25em solid green; border-top: 0.25em solid green; }
michael@0 11 div#before { height: 1em; margin-bottom:-1em; }
michael@0 12 div#before > span { display: inline; vertical-align: top; background: red; color: red; }
michael@0 13 </style>
michael@0 14 </head>
michael@0 15 <body>
michael@0 16 <div id="before"><span>&nbsp;x&nbsp;</span></div>
michael@0 17 <div id="test"><span><span>&nbsp;x&nbsp;</span></span></div>
michael@0 18 </body>
michael@0 19 </html>

mercurial