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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/text-in-relative-positioned-inline.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/text-in-relative-positioned-inline.html --> 1 <!-- Based on fast/repaint/text-in-relative-positioned-inline.html -->
2 <head> 2 <head>
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 "InlineTextBox 'ab'",
7 "LayoutText #text",
8 "InlineFlowBox",
9 "LayoutInline (relative positioned) SPAN id='target'",
10 "LayoutText #text",
11 "RootInlineBox",
12 ];
13 function paintInvalidationTest() 5 function paintInvalidationTest()
14 { 6 {
15 document.getElementById("target").style.display = "none"; 7 document.getElementById("target").style.display = "none";
16 } 8 }
17 </script> 9 </script>
18 </head> 10 </head>
19 <body onload="runPaintInvalidationTest()"> 11 <body onload="runPaintInvalidationTest()">
20 <div style="margin-left: 100px; font: 100px; -webkit-font-smoothing: none; h eight: 100px;"> 12 <div style="margin-left: 100px; font: 100px; -webkit-font-smoothing: none; h eight: 100px;">
21 <span id="target" style="position: relative; left: -100px; color: red;"> ab</span> 13 <span id="target" style="position: relative; left: -100px; color: red;"> ab</span>
22 </div> 14 </div>
23 <div style="width: 100px; height: 100px; background-color: green; margin-top : -100px;"></div> 15 <div style="width: 100px; height: 100px; background-color: green; margin-top : -100px;"></div>
24 </body> 16 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698