layout/reftests/position-dynamic-changes/shrink-wrap-ref.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html class="reftest-wait">
michael@0 3 <body>
michael@0 4 <style>
michael@0 5 #a { position: absolute; border: 1px solid black; left: 300px; }
michael@0 6 </style>
michael@0 7 <script>
michael@0 8 document.addEventListener("MozReftestInvalidate", function() {
michael@0 9 var a = document.querySelector("#a");
michael@0 10 a.style.left = "auto";
michael@0 11 document.documentElement.removeAttribute("class");
michael@0 12 }, false);
michael@0 13 </script>
michael@0 14 <div id="a">
michael@0 15 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
michael@0 16 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
michael@0 17 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
michael@0 18 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
michael@0 19 velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
michael@0 20 occaecat cupidatat non proident, sunt in culpa qui officia deserunt
michael@0 21 mollit anim id est laborum.
michael@0 22 </div>
michael@0 23 </body>
michael@0 24 </html>

mercurial