OLD | NEW |
---|---|
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <link rel="stylesheet" href="resources/default.css"> | 3 <link rel="stylesheet" href="resources/default.css"> |
4 <style> | 4 <style> |
5 .translated { | 5 .translated { |
6 transform: scale(2, 2); | 6 transform: scale(2, 2); |
7 -webkit-transform: scale(2, 2); | |
8 -moz-transform: scale(2, 2); | 7 -moz-transform: scale(2, 2); |
alancutter (OOO until 2018)
2014/10/14 05:13:48
We should remove -moz-transform as well.
| |
9 } | 8 } |
10 </style> | 9 </style> |
11 <script src="../../resources/run-after-display.js"></script> | 10 <script src="../../resources/run-after-display.js"></script> |
12 <script src="resources/text-based-repaint.js"></script> | 11 <script src="resources/text-based-repaint.js"></script> |
13 <script> | 12 <script> |
14 if (window.testRunner) | 13 if (window.testRunner) |
15 testRunner.dumpAsTextWithPixelResults(); | 14 testRunner.dumpAsTextWithPixelResults(); |
16 | 15 |
17 window.onload = function() { | 16 window.onload = function() { |
18 window.scrollTo(0, 200); | 17 window.scrollTo(0, 200); |
19 runRepaintTest(); | 18 runRepaintTest(); |
20 }; | 19 }; |
21 | 20 |
22 function repaintTest() | 21 function repaintTest() |
23 { | 22 { |
24 document.getElementById('t').setAttribute("class", "green translated "); | 23 document.getElementById('t').setAttribute("class", "green translated "); |
25 } | 24 } |
26 </script> | 25 </script> |
27 </head> | 26 </head> |
28 <body style="height:2000px;"> | 27 <body style="height:2000px;"> |
29 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> | 28 <!-- Repaint test for https://bugs.webkit.org/show_bug.cgi?id=64650: RenderL ayer fixed position logic needs more basic testing --> |
30 <!-- You should see no red on this page. --> | 29 <!-- You should see no red on this page. --> |
31 <div style="position: absolute; top: 300px; left: 100px;" class="red"></div> | 30 <div style="position: absolute; top: 300px; left: 100px;" class="red"></div> |
32 <div id="t" style="position: fixed; top: 125px; left: 125px; width: 50px; he ight: 50px;" class="green"></div> | 31 <div id="t" style="position: fixed; top: 125px; left: 125px; width: 50px; he ight: 50px;" class="green"></div> |
33 </body> | 32 </body> |
34 </html> | 33 </html> |
OLD | NEW |