Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: LayoutTests/paint/invalidation/spv2/updating-scrolling-container-and-content-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script> 2 <script>
4 function repaintTest() {
5 document.getElementById('container').style.color = "green";
6 }
7 onload = function() { 3 onload = function() {
8 document.getElementById('container').scrollTop = 50; 4 document.getElementById('container').scrollTop = 50;
9 runRepaintTest();
10 }; 5 };
11 </script> 6 </script>
12 <style> 7 <style>
13 #container { 8 #container {
14 overflow: scroll; 9 overflow: scroll;
15 width: 200px; 10 width: 200px;
16 height: 200px; 11 height: 200px;
12 color: green;
17 } 13 }
18 </style> 14 </style>
19 <div style="height: 100px"> 15 <div style="height: 100px">
20 Tests invalidation of scrolling container and contents on change of style which affects also the contents. 16 Tests invalidation of scrolling container and contents on change of style which affects also the contents.
21 Passes if the content text is green, and the whole content layer (if composited scrolling) is invalidated. 17 Passes if the content text is green, and the whole content layer (if composited scrolling) is invalidated.
22 </div> 18 </div>
23 <div id="container"> 19 <div id="container">
24 CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>C ONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT 20 CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>C ONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT<br>CONTENT
25 </div> 21 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698