| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="resources/text-based-repaint.js"></script> | |
| 4 <script type="text/javascript" charset="utf-8"> | |
| 5 function repaintTest() | |
| 6 { | |
| 7 var target = document.getElementById("square"); | |
| 8 target.style.webkitTransform = "scale(0.5, 0.5)"; | |
| 9 } | |
| 10 </script> | |
| 11 <style type="text/css" media="screen"> | 3 <style type="text/css" media="screen"> |
| 12 body { | 4 body { |
| 13 margin: 10px; | 5 margin: 10px; |
| 14 } | 6 } |
| 15 #square { | 7 #square { |
| 16 width: 100px; | 8 width: 100px; |
| 17 height: 100px; | 9 height: 100px; |
| 18 background: red; | |
| 19 } | 10 } |
| 20 #overlay { | 11 #overlay { |
| 21 position: absolute; | 12 position: absolute; |
| 22 left: 35px; | 13 left: 35px; |
| 23 top: 35px; | 14 top: 35px; |
| 24 width: 50px; | 15 width: 50px; |
| 25 height: 50px; | 16 height: 50px; |
| 26 background: green | 17 background: green |
| 27 } | 18 } |
| 28 </style> | 19 </style> |
| 29 </head> | 20 </head> |
| 30 <body onload="runRepaintTest()"> | 21 <body> |
| 31 <div id="square"></div> | 22 <div id="square"></div> |
| 32 <div id="overlay"></div> | 23 <div id="overlay"></div> |
| 33 | 24 |
| 34 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> | 25 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=19623">https://bugs.webkit.o
rg/show_bug.cgi?id=19623</a></p> |
| 35 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh
ould see a green square above. If you see any red, the test has failed.</p> | 26 <p>Test for incomplete repaint when a non-layer object gains a transform. You sh
ould see a green square above. If you see any red, the test has failed.</p> |
| 36 </body> | 27 </body> |
| 37 </html> | 28 </html> |
| OLD | NEW |