layout/reftests/abs-pos/fixed-pos-auto-offset-1b.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 <!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