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> | 5 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip
t> |
6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
7 function repaintTest() | 7 function repaintTest() |
8 { | 8 { |
9 document.getElementById("target").style.backgroundColor = ''; | 9 document.getElementById("target").style.backgroundColor = ''; |
10 document.getElementById("target").style.color = 'green'; | 10 document.getElementById("target").style.color = 'green'; |
11 } | 11 } |
12 </script> | 12 </script> |
13 </head> | 13 </head> |
14 <body onload="runRepaintTest();"> | 14 <body onload="runRepaintTest();"> |
15 <p> | 15 <p> |
16 Repaint test for <i><a href="rdar://problem/6518850">rdar://problem/6518
850</a></i> | 16 Repaint test for <i><a href="rdar://problem/6518850">rdar://problem/6518
850</a></i> |
17 Make sure that an inline repaints using its line boxes and not using Ren
derBox width()/height(). | 17 Make sure that an inline repaints using its line boxes and not using Lay
outBox width()/height(). |
18 </p> | 18 </p> |
19 <p><span id="target" style="background-color:red; color:red">PASS</span></p> | 19 <p><span id="target" style="background-color:red; color:red">PASS</span></p> |
20 </body> | 20 </body> |
21 </html> | 21 </html> |
OLD | NEW |