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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/child-of-sub-pixel-offset-composited-layer.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/child-of-sub-pixel-offset-composited-layer.html --> 1 <!-- Based on fast/repaint/child-of-sub-pixel-offset-composited-layer.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <html> 3 <html>
4 <head> 4 <head>
5 <style> 5 <style>
6 .container { 6 .container {
7 transform: translateZ(0); 7 transform: translateZ(0);
8 position: absolute; 8 position: absolute;
9 top: 100px; 9 top: 100px;
10 left:100.5px; 10 left:100.5px;
(...skipping 15 matching lines...) Expand all
26 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri pt> 26 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri pt>
27 </head> 27 </head>
28 <body onload="runPaintInvalidationTest();"> 28 <body onload="runPaintInvalidationTest();">
29 <div class="container"> 29 <div class="container">
30 <div id="target"> 30 <div id="target">
31 </div> 31 </div>
32 </div> 32 </div>
33 <script> 33 <script>
34 // This test ensures that children of a composited element with a sub-pixel offs et are properly repainted. 34 // This test ensures that children of a composited element with a sub-pixel offs et are properly repainted.
35 // The box should have a fully green border. 35 // The box should have a fully green border.
36 window.expectedPaintInvalidationObjects = [
37 "LayoutBlockFlow (positioned) DIV id='target' class='green'",
38 ];
39 function paintInvalidationTest() { 36 function paintInvalidationTest() {
40 var target = document.getElementById('target'); 37 var target = document.getElementById('target');
41 target.classList.add('green'); 38 target.classList.add('green');
42 } 39 }
43 </script> 40 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698