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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-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 <!-- Based on fast/repaint/align-self-change-keeping-geometry.html --> 1 <!-- Based on fast/repaint/align-self-change-keeping-geometry.html -->
2 <!DOCTYPE HTML> 2 <!DOCTYPE HTML>
3 <script src="resources/paint-invalidation-test.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
4 <script> 4 <script>
5 window.expectedPaintInvalidationObjects = [ 5 if (window.testRunner)
6 ]; 6 testRunner.dumpAsText();
7 function paintInvalidationTest() { 7 function paintInvalidationTest() {
8 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch'; 8 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
9 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch'; 9 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
10 } 10 }
11 onload = runPaintInvalidationTest; 11 onload = runPaintInvalidationTest;
12 </script> 12 </script>
13 <style> 13 <style>
14 .flex { 14 .flex {
15 display: flex; 15 display: flex;
16 align-items: flex-start; 16 align-items: flex-start;
17 width: 200px; 17 width: 200px;
18 height: 300px; 18 height: 300px;
19 background-color: red; 19 background-color: red;
20 } 20 }
21 .item { 21 .item {
22 background-color: green; 22 background-color: green;
23 border: solid thin blue; 23 border: solid thin blue;
24 width: 100px; 24 width: 100px;
25 height: 300px; 25 height: 300px;
26 } 26 }
27 </style> 27 </style>
28 <p style="height: 20px">There should be no invalidations because align-self styl e change causes no visual change.</p> 28 <p style="height: 20px">There should be no invalidations because align-self styl e change causes no visual change.</p>
29 <div class="flex"> 29 <div class="flex">
30 <div class="item"></div> 30 <div class="item"></div>
31 <div class="item"></div> 31 <div class="item"></div>
32 </div> 32 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698