| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 This is a test for | 2 This is a test for |
| 3 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=38427">https://bugs.webk
it.org/show_bug.cgi?id=38427</a> | 3 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=38427">https://bugs.webk
it.org/show_bug.cgi?id=38427</a> |
| 4 <rdar://problem/7932072> Iframes in composited layers don’t repaint co
rrectly (affects Yahoo! Mail with Flash Player 10.1)</i>. | 4 <rdar://problem/7932072> Iframes in composited layers don’t repaint co
rrectly (affects Yahoo! Mail with Flash Player 10.1)</i>. |
| 5 <--> | 5 <--> |
| 6 <div style="-webkit-transform: translateZ(0); width: 400px; height: 400px; backg
round-color: lightyellow;"> | 6 <div style="transform: translateZ(0); width: 400px; height: 400px; background-co
lor: lightyellow;"> |
| 7 <iframe id="frame" style="width: 380px; height: 380px; border: solid; margin
: 7px" src="data:text/html, | 7 <iframe id="frame" style="width: 380px; height: 380px; border: solid; margin
: 7px" src="data:text/html, |
| 8 <html style='height: 900px; width: 900px; position: relative;'> | 8 <html style='height: 900px; width: 900px; position: relative;'> |
| 9 <body> | 9 <body> |
| 10 <div style='position: absolute; width: 100px; height: 100px; bac
kground-color: red; left: 0; top: 0;'></div> | 10 <div style='position: absolute; width: 100px; height: 100px; bac
kground-color: red; left: 0; top: 0;'></div> |
| 11 <div style='position: absolute; width: 100px; height: 100px; bac
kground-color: green; right: 0; bottom: 0;'></div> | 11 <div style='position: absolute; width: 100px; height: 100px; bac
kground-color: green; right: 0; bottom: 0;'></div> |
| 12 </body> | 12 </body> |
| 13 </html> | 13 </html> |
| 14 "></iframe> | 14 "></iframe> |
| 15 </div> | 15 </div> |
| 16 <script> | 16 <script> |
| 17 if (window.testRunner) | 17 if (window.testRunner) |
| 18 testRunner.waitUntilDone(); | 18 testRunner.waitUntilDone(); |
| 19 | 19 |
| 20 setTimeout(function() { | 20 setTimeout(function() { |
| 21 document.getElementById("frame").contentWindow.scrollTo(600, 600); | 21 document.getElementById("frame").contentWindow.scrollTo(600, 600); |
| 22 if (window.testRunner) | 22 if (window.testRunner) |
| 23 testRunner.notifyDone(); | 23 testRunner.notifyDone(); |
| 24 }, 200); | 24 }, 200); |
| 25 </script> | 25 </script> |
| OLD | NEW |