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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/multicol-with-abspos.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-with-abspos.html --> 1 <!-- Based on fast/repaint/multicol-with-abspos.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 <script> 4 <script>
5 onload = runPaintInvalidationTest; 5 onload = runPaintInvalidationTest;
6 window.expectedPaintInvalidationObjects = [
7 "LayoutBlockFlow (positioned) DIV id='target'",
8 "LayoutText #text",
9 "InlineTextBox 'PASS'",
10 ];
11 function paintInvalidationTest() { 6 function paintInvalidationTest() {
12 var target = document.getElementById('target'); 7 var target = document.getElementById('target');
13 target.style.visibility = 'visible'; 8 target.style.visibility = 'visible';
14 } 9 }
15 </script> 10 </script>
16 <p>A green PASS should be seen at the bottom-left corner.</p> 11 <p>A green PASS should be seen at the bottom-left corner.</p>
17 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width: 630px; height:40px; color:green;"> 12 <div style="-webkit-columns:4; -webkit-column-gap:10px; column-fill:auto; width: 630px; height:40px; color:green;">
18 <br> 13 <br>
19 <br> 14 <br>
20 <br> 15 <br>
21 <br> 16 <br>
22 <br> 17 <br>
23 <br> 18 <br>
24 <!-- This absolutely positioned box is not part of the flow thread, since th e nearest 19 <!-- This absolutely positioned box is not part of the flow thread, since th e nearest
25 non-statically positioned box is further up than that. --> 20 non-statically positioned box is further up than that. -->
26 <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidd en;">PASS</div> 21 <div id="target" style="position:absolute; left:0; bottom:0; visibility:hidd en;">PASS</div>
27 </div> 22 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698