layout/reftests/box/flexbox-child-is-abspos-container-2.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!-- Any copyright is dedicated to the Public Domain.
     2      http://creativecommons.org/publicdomain/zero/1.0/ -->
     3 <!-- This testcase has a -moz-box element with a block as its only child, which
     4      forms a containing block for an absolutely positioned grandchild. Also, in
     5      this case, the grandchild is taller than its parent and grandparent. -->
     6 <html>
     7   <head>
     8     <style>
     9       body { margin-top: 50px }
    10       .box { display: -moz-box }
    11       .relpos_parent {
    12         position: relative;
    13         width: 100px;
    14         height: 100px;
    15         background: lightblue;
    16       }
    17       .abspos_child {
    18         position: absolute;
    19         left: 30px;
    20         bottom: 10px;
    21         width: 20px;
    22         height: 130px;
    23         background: purple;
    24       }
    25     </style>
    26   </head>
    27   <body>
    28     <div class="box">
    29       <div class="relpos_parent">
    30         <div class="abspos_child"></div>
    31       </div>
    32     </div>
    33   </body>
    34 </html>

mercurial