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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/multicol-repaint.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/multicol-repaint.html --> 1 <!-- Based on fast/repaint/multicol-repaint.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 3
4 <html lang="en"> 4 <html lang="en">
5 <head> 5 <head>
6 <style type="text/css" media="screen"> 6 <style type="text/css" media="screen">
7 7
8 .container { 8 .container {
9 width: 400px; 9 width: 400px;
10 height: 100px; 10 height: 100px;
11 border: 1px solid black; 11 border: 1px solid black;
12 font-size: 50px; 12 font-size: 50px;
13 -webkit-column-count: 2; 13 -webkit-column-count: 2;
14 column-count: 2; 14 column-count: 2;
15 column-fill: auto; 15 column-fill: auto;
16 } 16 }
17 17
18 </style> 18 </style>
19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc ript> 19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc ript>
20 <script type="text/javascript"> 20 <script type="text/javascript">
21 window.expectedPaintInvalidationObjects = [
22 "RootInlineBox",
23 "RootInlineBox",
24 "InlineTextBox '\u00A0'",
25 "InlineTextBox '\n'",
26 "InlineTextBox ''",
27 "LayoutMultiColumnFlowThread (anonymous)",
28 "LayoutText #text",
29 "InlineTextBox 'XXXXXX'",
30 ];
31 function paintInvalidationTest() 21 function paintInvalidationTest()
32 { 22 {
33 document.getElementById('a').innerHTML = 'XXXXXX'; 23 document.getElementById('a').innerHTML = 'XXXXXX';
34 } 24 }
35 </script> 25 </script>
36 </head> 26 </head>
37 <body onload="runPaintInvalidationTest();"> 27 <body onload="runPaintInvalidationTest();">
38 28
39 <div class="container"> 29 <div class="container">
40 &nbsp;<br> 30 &nbsp;<br>
41 <span id="a">x</span> 31 <span id="a">x</span>
42 </div> 32 </div>
43 </body> 33 </body>
44 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698