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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/remove-inline-block-descendant-of-flex-expected.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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('inline-block-1').style.display = 'none';
6 }
7 onload = runRepaintTest;
8 </script>
9 <style> 2 <style>
10 body { 3 body {
11 margin : 0; 4 margin : 0;
12 } 5 }
13 .item { 6 .item {
14 display: inline-block; 7 display: inline-block;
15 height: 100px; 8 height: 100px;
16 width: 100px; 9 width: 100px;
17 } 10 }
18 </style> 11 </style>
19 Tests paint invalidation of inline blocks following an inline-block that is remo ved. 12 Tests paint invalidation of inline blocks following an inline-block that is remo ved.
20 Passes if there is only one green square at the top-left corner of the window. 13 Passes if there is only one green square at the top-left corner of the window.
21 <div style="display: flex; height: 300px; position: absolute; top: 100px"> 14 <div style="display: flex; height: 300px; position: absolute; top: 100px">
22 <div style="display: flex"> 15 <div style="display: flex">
23 <div style="width: 100px"> 16 <div style="width: 100px">
24 <div id="inline-block-1" class="item" style="background-color: red"><br></ div>
25 <div id="inline-block-2" class="item" style="background-color: green"><br> </div> 17 <div id="inline-block-2" class="item" style="background-color: green"><br> </div>
26 </div> 18 </div>
27 </div> 19 </div>
28 </div> 20 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698