OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | |
3 <script> | |
4 function repaintTest() { | |
5 document.getElementById('scroller').style.color = 'green'; | |
6 } | |
7 onload = runRepaintTest; | |
8 </script> | |
9 Tests invalidation of scrolling text. On composited scrolling, the whole text sh
ould be invalidated when the 'color' property of the container changes. | 2 Tests invalidation of scrolling text. On composited scrolling, the whole text sh
ould be invalidated when the 'color' property of the container changes. |
10 <pre id="scroller" style="width: 200px; height: 200px; overflow: scroll; color:
red"> | 3 <pre id="scroller" style="width: 200px; height: 200px; overflow: scroll; color:
green"> |
11 Text | 4 Text |
12 Text | 5 Text |
13 Text | 6 Text |
14 Text | 7 Text |
15 Text | 8 Text |
16 Text | 9 Text |
17 Text | 10 Text |
18 Text | 11 Text |
19 Text | 12 Text |
20 Text | 13 Text |
(...skipping 22 matching lines...) Expand all Loading... |
43 Text | 36 Text |
44 Text | 37 Text |
45 Text | 38 Text |
46 Text | 39 Text |
47 Text | 40 Text |
48 Text | 41 Text |
49 Text | 42 Text |
50 Text | 43 Text |
51 Text | 44 Text |
52 </pre> | 45 </pre> |
OLD | NEW |