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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/multicol-repaint.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!-- Based on fast/repaint/multicol-repaint.html -->
2 <!DOCTYPE html>
3
4 <html lang="en">
5 <head>
6 <style type="text/css" media="screen">
7
8 .container {
9 width: 400px;
10 height: 100px;
11 border: 1px solid black;
12 font-size: 50px;
13 -webkit-column-count: 2;
14 column-count: 2;
15 column-fill: auto;
16 }
17
18 </style>
19 <script src="resources/paint-invalidation-test.js" type="text/javascript"></sc ript>
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()
32 {
33 document.getElementById('a').innerHTML = 'XXXXXX';
34 }
35 </script>
36 </head>
37 <body onload="runPaintInvalidationTest();">
38
39 <div class="container">
40 &nbsp;<br>
41 <span id="a">x</span>
42 </div>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698