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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/destroy-scrollbar.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 <!-- Based on fast/repaint/destroy-scrollbar.html -->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
3 <script> 4 <script>
4 function repaintTest() { 5 window.expectedPaintInvalidationObjects = [
6 "VerticalScrollbar",
7 "LayoutBlockFlow (positioned) DIV",
8 ];
9 function paintInvalidationTest() {
5 document.getElementById('content').style.height = '100px'; 10 document.getElementById('content').style.height = '100px';
6 } 11 }
7 onload = runRepaintTest; 12 onload = runPaintInvalidationTest;
8 </script> 13 </script>
9 Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollba r. 14 Tests invalidation when a scrollbar is destroyed. Passes if there is no scrollba r.
10 <div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px ; overflow: auto"> 15 <div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px ; overflow: auto">
11 <div id="content" style="width: 100px; height: 400px"></div> 16 <div id="content" style="width: 100px; height: 400px"></div>
12 </div> 17 </div>
13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698