layout/reftests/abs-pos/fixed-pos-auto-offset-1b.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4   <!-- Important: no meta charset! -->
     5   <title>Testcase Bug 851514</title>
     6   <style>
     7   #parent {
     8     position: fixed;
     9     height: 30px;
    10     width: 30px;
    11     background: green;
    12     left: 70px;
    13     top: 70px;
    14     overflow: hidden;
    15   }
    16   #child {
    17     position: fixed;
    18     top: auto;
    19     left: auto;
    20     width: 10px;
    21     height: 10px;
    22     background: purple;
    23   }
    24   </style>
    25 </head>
    26 <body>
    27   <div id="parent">
    28     <div id="child"></div>
    29   </div>
    30   The purple block should be inside the green block.
    31 </body>
    32 </html>

mercurial