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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/repaint-via-layout-offset.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 compositing/squashing/repaint-via-layout-offset.html --> 1 <!-- Based on compositing/squashing/repaint-via-layout-offset.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 <style> 4 <style>
5 #container { 5 #container {
6 position: absolute; 6 position: absolute;
7 z-index: 0; 7 z-index: 0;
8 left: 50px; 8 left: 50px;
9 top: 50px; 9 top: 50px;
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 height: 50px; 21 height: 50px;
22 background-color: green; 22 background-color: green;
23 } 23 }
24 </style> 24 </style>
25 <div style="width:200px; height:200px; transform: translateZ(0px); background-co lor: lightblue"></div> 25 <div style="width:200px; height:200px; transform: translateZ(0px); background-co lor: lightblue"></div>
26 <div id="container"> 26 <div id="container">
27 <span class="child"></span> 27 <span class="child"></span>
28 <span class="child"></span> 28 <span class="child"></span>
29 </div> 29 </div>
30 <script> 30 <script>
31 window.expectedPaintInvalidationObjects = [
32 "LayoutBlockFlow (positioned) SPAN class='child embiggen'",
33 ];
34 function paintInvalidationTest() { 31 function paintInvalidationTest() {
35 document.querySelectorAll('.child')[1].classList.add('embiggen'); 32 document.querySelectorAll('.child')[1].classList.add('embiggen');
36 } 33 }
37 runPaintInvalidationTest(); 34 runPaintInvalidationTest();
38 </script> 35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698