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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!-- Any copyright is dedicated to the Public Domain.
     2      http://creativecommons.org/publicdomain/zero/1.0/ -->
     3 <html>
     4   <head>
     5     <style>
     6       .relpos_parent {
     7         position: relative;
     8         width: 100px;
     9         height: 100px;
    10         background: lightblue;
    11       }
    12       .abspos_child {
    13         position: absolute;
    14         left: 30px;
    15         bottom: 10px;
    16         width: 20px;
    17         height: 20px;
    18         background: purple;
    19       }
    20     </style>
    21   </head>
    22   <body>
    23     <div>
    24       <div class="relpos_parent">
    25         <div class="abspos_child"></div>
    26       </div>
    27     </div>
    28   </body>
    29 </html>

mercurial