OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 div { | 4 div { |
5 width: 100px; | 5 width: 100px; |
6 height:100px; | 6 height:100px; |
7 overflow:hidden; | 7 overflow:hidden; |
8 float:left; | 8 float:left; |
9 } | 9 } |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 <script> | 21 <script> |
22 function repaintTest() | 22 function repaintTest() |
23 { | 23 { |
24 document.getElementsByClassName("green")[0].style.opacity = 1; | 24 document.getElementsByClassName("green")[0].style.opacity = 1; |
25 } | 25 } |
26 </script> | 26 </script> |
27 | 27 |
28 </head> | 28 </head> |
29 <body onload="runRepaintAndPixelTest()"> | 29 <body onload="runRepaintAndPixelTest()"> |
30 <p>Repaint test for <rdar><!-- | 30 <p>Repaint test for <rdar><!-- |
31 An explaination as to why this is here. In the beginning, there was an | 31 An explanation as to why this is here. In the beginning, there was an |
32 <rdar:://problem/6869687> link to rdar. However, that link was invisible | 32 <rdar:://problem/6869687> link to rdar. However, that link was invisible |
33 because it was enclosed in angle brackets. | 33 because it was enclosed in angle brackets. |
34 | 34 |
35 This was fine, until we implemented the HTML5 parsing algorithm, which changed | 35 This was fine, until we implemented the HTML5 parsing algorithm, which changed |
36 the name of the rdar element to not include // charaters. Rather than | 36 the name of the rdar element to not include // charaters. Rather than |
37 regenerate the expected results (which were platform specific), the rdar link | 37 regenerate the expected results (which were platform specific), the rdar link |
38 was changed to an <rdar> element and the expected render tree was hand-edited. | 38 was changed to an <rdar> element and the expected render tree was hand-edited. |
39 --> REGRESSION (r41203): Facebook friend suggestions disappear on update. Make
sure when a layer switches | 39 --> REGRESSION (r41203): Facebook friend suggestions disappear on update. Make
sure when a layer switches |
40 from being self-painting to non-self-painting that a layout happens to fix up th
e floating objects lists. You should see a 100x100 green square below. | 40 from being self-painting to non-self-painting that a layout happens to fix up th
e floating objects lists. You should see a 100x100 green square below. |
41 If you see any red, the test has failed. | 41 If you see any red, the test has failed. |
42 </p> | 42 </p> |
43 <div class="red"> | 43 <div class="red"> |
44 <div class="green" style="opacity:0.5"> | 44 <div class="green" style="opacity:0.5"> |
45 </div> | 45 </div> |
46 </div> | 46 </div> |
47 | 47 |
OLD | NEW |