layout/reftests/box/flexbox-abspos-container-1c.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 <!-- Any copyright is dedicated to the Public Domain.
michael@0 2 http://creativecommons.org/publicdomain/zero/1.0/ -->
michael@0 3 <!-- This testcase is the same as the -1a version, but with an additional
michael@0 4 -moz-box wrapper, so that our relatively positioned box will never get a
michael@0 5 call to Reflow. -->
michael@0 6 <html>
michael@0 7 <head>
michael@0 8 <style>
michael@0 9 .box { display: -moz-box }
michael@0 10 .relpos_parent {
michael@0 11 position: relative;
michael@0 12 width: 100px;
michael@0 13 height: 100px;
michael@0 14 background: lightblue;
michael@0 15 }
michael@0 16 .abspos_child {
michael@0 17 position: absolute;
michael@0 18 left: 30px;
michael@0 19 bottom: 10px;
michael@0 20 width: 20px;
michael@0 21 height: 20px;
michael@0 22 background: purple;
michael@0 23 }
michael@0 24 </style>
michael@0 25 </head>
michael@0 26 <body>
michael@0 27 <div class="box">
michael@0 28 <div class="box relpos_parent">
michael@0 29 <div class="abspos_child"></div>
michael@0 30 </div>
michael@0 31 </div>
michael@0 32 </body>
michael@0 33 </html>

mercurial