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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/align-self-change-no-flex.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-no-flex.html --> 1 <!-- Based on fast/repaint/align-self-change-no-flex.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 = [
6 ];
7 function paintInvalidationTest() { 5 function paintInvalidationTest() {
8 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch'; 6 document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
9 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch'; 7 document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
10 } 8 }
11 onload = runPaintInvalidationTest; 9 onload = runPaintInvalidationTest;
12 </script> 10 </script>
13 <style> 11 <style>
14 .container { 12 .container {
15 width: 200px; 13 width: 200px;
16 height: 300px; 14 height: 300px;
17 background-color: blue; 15 background-color: blue;
18 } 16 }
19 .item { 17 .item {
20 background-color: green; 18 background-color: green;
21 border: solid thin blue; 19 border: solid thin blue;
22 } 20 }
23 </style> 21 </style>
24 There should be no invalidations when align-self changes on a non-flex container . 22 There should be no invalidations when align-self changes on a non-flex container .
25 <div id="container"> 23 <div id="container">
26 <div class="item"> 24 <div class="item">
27 <div style="height: 100px"></div> 25 <div style="height: 100px"></div>
28 </div> 26 </div>
29 <div class="item"> 27 <div class="item">
30 <div style="height: 150px"></div> 28 <div style="height: 150px"></div>
31 </div> 29 </div>
32 </div> 30 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698