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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/should-not-repaint-composited-descendants-on-overflow-change-as-text.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/paint-invalidation-test.js"></script> 2 <script src="resources/paint-invalidation-test.js"></script>
3 <script> 3 <script>
4 window.expectedPaintInvalidationObjects = [ 4 if (window.testRunner)
5 "LayoutBlockFlow DIV id='overflow1'", 5 testRunner.dumpAsText();
6 "LayoutBlockFlow DIV id='overflow2'",
7 ];
8 function paintInvalidationTest() { 6 function paintInvalidationTest() {
9 document.getElementById('overflow1').style.overflow = "visible"; 7 document.getElementById('overflow1').style.overflow = "visible";
10 document.getElementById('overflow2').style.overflow = "hidden"; 8 document.getElementById('overflow2').style.overflow = "hidden";
11 } 9 }
12 onload = runPaintInvalidationTest; 10 onload = runPaintInvalidationTest;
13 </script> 11 </script>
14 <style> 12 <style>
15 body { 13 body {
16 margin: 0; 14 margin: 0;
17 } 15 }
(...skipping 22 matching lines...) Expand all
40 <!-- We should not repaint composited descendants on overflow style changes (ver ified with the text expectation). 38 <!-- We should not repaint composited descendants on overflow style changes (ver ified with the text expectation).
41 The compositor should handle any visual change caused by the change of overflow clipping (verified with the pixel expectation). --> 39 The compositor should handle any visual change caused by the change of overflow clipping (verified with the pixel expectation). -->
42 <div id="overflow1"> 40 <div id="overflow1">
43 <div class="composited-child"></div> 41 <div class="composited-child"></div>
44 <div class="composited-child overflow-child"></div> 42 <div class="composited-child overflow-child"></div>
45 </div> 43 </div>
46 <div id="overflow2"> 44 <div id="overflow2">
47 <div class="composited-child"></div> 45 <div class="composited-child"></div>
48 <div class="composited-child overflow-child"></div> 46 <div class="composited-child overflow-child"></div>
49 </div> 47 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698