layout/reftests/box-ordinal/box-ordinal-with-out-of-flow-1.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

michael@0 1 <!DOCTYPE html>
michael@0 2 <!--
michael@0 3 Any copyright is dedicated to the Public Domain.
michael@0 4 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 5 -->
michael@0 6 <!-- Testcase for whether we honor "-moz-box-ordinal-group" on
michael@0 7 absolutely-positioned elements within a -moz-box. Specifically,
michael@0 8 we test whether it affects their paint-order (as it should, since
michael@0 9 it reorders the frame tree).
michael@0 10 -->
michael@0 11 <html>
michael@0 12 <head>
michael@0 13 <style>
michael@0 14 #container { display: -moz-box; }
michael@0 15 #lowOrdinal {
michael@0 16 position: absolute;
michael@0 17 -moz-box-ordinal-group: 5;
michael@0 18 background: red;
michael@0 19 height: 100px; width: 100px;
michael@0 20 }
michael@0 21 #highOrdinal {
michael@0 22 position: absolute;
michael@0 23 -moz-box-ordinal-group: 10;
michael@0 24 background: lime;
michael@0 25 height: 100px; width: 100px;
michael@0 26 }
michael@0 27 #noOrdinal {
michael@0 28 position: absolute;
michael@0 29 background: orange;
michael@0 30 height: 100px; width: 100px;
michael@0 31 }
michael@0 32 </style>
michael@0 33 </head>
michael@0 34 <body>
michael@0 35 <div id="container">
michael@0 36 <div id="highOrdinal"></div>
michael@0 37 <div id="lowOrdinal"></div>
michael@0 38 <div id="noOrdinal"></div>
michael@0 39 </div>
michael@0 40 </body>
michael@0 41 </html>

mercurial