| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="t
ext/javascript"></script> | 3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="t
ext/javascript"></script> |
| 4 <script> | 4 <script> |
| 5 function repaintTest() { | 5 function repaintTest() { |
| 6 » » document.getElementById("svg").style.overflow="visible"; | 6 » » document.getElementById("rect").focus(); |
| 7 } | 7 } |
| 8 </script> | 8 </script> |
| 9 <style> | 9 <style> |
| 10 div { | 10 div { |
| 11 » » » height:100px; width:100px; | 11 » » » height:150px; width:150px; |
| 12 } | 12 } |
| 13 » » div + div { background: red; } | 13 » » :focus { fill: green } |
| 14 </style> | 14 </style> |
| 15 </head> | 15 </head> |
| 16 <body onload="runRepaintAndPixelTest()"> | 16 <body onload="runRepaintAndPixelTest()"> |
| 17 <div> | 17 <div> |
| 18 » » <svg id="svg" height="100" width="100" viewbox="0 0 100 100"> | 18 » » <svg id="svg" height="150" width="150" viewbox="0 0 150 150"> |
| 19 » » » <rect y="100" width="100" height="100" fill="green"/> | 19 » » » <rect id="rect" x="50" y="50" height="50" width="50" tab
index="1"/> |
| 20 </svg> | 20 </svg> |
| 21 </div> | 21 </div> |
| 22 <div></div> | |
| 23 </body> | 22 </body> |
| OLD | NEW |