| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 "http://www.w3.org/TR/html4/strict.dtd"> | 2 "http://www.w3.org/TR/html4/strict.dtd"> |
| 3 <html lang="en"> | 3 <html lang="en"> |
| 4 <head> | 4 <head> |
| 5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> | |
| 6 <script type="text/javascript"> | |
| 7 function repaintTest() | |
| 8 { | |
| 9 var target = document.getElementById('t'); | |
| 10 target.style.borderTop = "30px solid blue"; | |
| 11 target.style.margin = "0"; | |
| 12 } | |
| 13 </script> | |
| 14 <style type="text/css"> | 5 <style type="text/css"> |
| 15 span#t { margin: 30px; } | 6 span#t { margin: 0; border-top: 30px solid blue; } |
| 16 </style> | 7 </style> |
| 17 </head> | 8 </head> |
| 18 <body onload="runRepaintTest();"> | 9 <body> |
| 19 <p> | 10 <p> |
| 20 This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9
669">http://bugzilla.opendarwin.org/show_bug.cgi?id=9669</a> | 11 This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=9
669">http://bugzilla.opendarwin.org/show_bug.cgi?id=9669</a> |
| 21 Incomplete repaint when changing an inline's border</i>. | 12 Incomplete repaint when changing an inline's border</i>. |
| 22 </p> | 13 </p> |
| 23 <hr> | 14 <hr> |
| 24 <div style="width: 200px; height: 200px;"> | 15 <div style="width: 200px; height: 200px;"> |
| 25 Cras faucibus. Nunc adipiscing, enim in scelerisque convallis, | 16 Cras faucibus. Nunc adipiscing, enim in scelerisque convallis, |
| 26 augue <span id="t">purus</span> eleifend lacus, at sagittis eros leo pul
vinar velit. Integer sollicitudin nisi ut urna blandit convallis. | 17 augue <span id="t">purus</span> eleifend lacus, at sagittis eros leo pul
vinar velit. Integer sollicitudin nisi ut urna blandit convallis. |
| 27 </div> | 18 </div> |
| 28 </body> | 19 </body> |
| OLD | NEW |