layout/reftests/bugs/637597-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html class="reftest-wait">
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 html { background:white; }
michael@0 6 #parent {
michael@0 7 position: absolute;
michael@0 8 top: 100.8px;
michael@0 9 -moz-transform: scale(1.1232,1.1232);
michael@0 10 transform: scale(1.1232,1.1232);
michael@0 11 }
michael@0 12 #b1 {
michael@0 13 position: absolute;
michael@0 14 width: 100px;
michael@0 15 height: 109px;
michael@0 16 background: #c00;
michael@0 17 -moz-transform: translate(100px,100px);
michael@0 18 transform: translate(100px,100px);
michael@0 19 }
michael@0 20 #b2 {
michael@0 21 position: absolute;
michael@0 22 top: 0;
michael@0 23 left: 0;
michael@0 24 width: 100px;
michael@0 25 height: 100px;
michael@0 26 background: white;
michael@0 27 -moz-transform: translate(400px,200px);
michael@0 28 transform: translate(400px,200px);
michael@0 29 }
michael@0 30 #b2.done {
michael@0 31 -moz-transform: translate(400px,0);
michael@0 32 transform: translate(400px,0);
michael@0 33 }
michael@0 34 </style>
michael@0 35 </head>
michael@0 36 <body>
michael@0 37 <div id="parent">
michael@0 38 <div id="b1"></div>
michael@0 39 <div id="b2"></div>
michael@0 40 </div>
michael@0 41 <script>
michael@0 42 function doTest() {
michael@0 43 document.getElementById('b2').setAttribute("class", "done");
michael@0 44 document.documentElement.removeAttribute("class");
michael@0 45 }
michael@0 46 window.addEventListener("MozReftestInvalidate", doTest, false);
michael@0 47 </script>
michael@0 48 </body>
michael@0 49 </html>

mercurial