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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/box-ordinal/box-ordinal-with-out-of-flow-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!--
     1.6 +     Any copyright is dedicated to the Public Domain.
     1.7 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.8 +-->
     1.9 +<!-- Testcase for whether we honor "-moz-box-ordinal-group" on
    1.10 +     absolutely-positioned elements within a -moz-box. Specifically,
    1.11 +     we test whether it affects their paint-order (as it should, since
    1.12 +     it reorders the frame tree).
    1.13 +-->
    1.14 +<html>
    1.15 +<head>
    1.16 +  <style>
    1.17 +    #container { display: -moz-box; }
    1.18 +    #lowOrdinal {
    1.19 +      position: absolute;
    1.20 +      -moz-box-ordinal-group: 5;
    1.21 +      background: red;
    1.22 +      height: 100px; width: 100px;
    1.23 +    }
    1.24 +    #highOrdinal {
    1.25 +      position: absolute;
    1.26 +      -moz-box-ordinal-group: 10;
    1.27 +      background: lime;
    1.28 +      height: 100px; width: 100px;
    1.29 +    }
    1.30 +    #noOrdinal {
    1.31 +      position: absolute;
    1.32 +      background: orange;
    1.33 +      height: 100px; width: 100px;
    1.34 +    }
    1.35 +  </style>
    1.36 +</head>
    1.37 +<body>
    1.38 +  <div id="container">
    1.39 +    <div id="highOrdinal"></div>
    1.40 +    <div id="lowOrdinal"></div>
    1.41 +    <div id="noOrdinal"></div>
    1.42 +  </div>
    1.43 +</body>
    1.44 +</html>

mercurial