layout/reftests/svg/foreignObject-dynamic-fixedpos-01.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 <div style="height: 100px">
     3 </div>
     4 <svg width="200" height="200" style="overflow: visible">
     5   <foreignObject width="200" height="200">
     6     <div id="x" style="position:fixed; top: 0; left: 0">
     7       This is a test
     8     </div>
     9   </foreignObject>
    10   <script>
    11     document.body.offsetWidth;
    12     var kid = document.getElementById("x");
    13     var parent = kid.parentNode;
    14     var nextSibling = kid.nextSibling;
    15     parent.removeChild(kid);
    16     parent.insertBefore(kid, nextSibling); 
    17   </script>
    18 </svg>

mercurial