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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/remove-inline-block-descendant-of-flex.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
(Empty)
1 <!-- Based on fast/repaint/remove-inline-block-descendant-of-flex.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4 <script>
5 function paintInvalidationTest() {
6 document.getElementById('inline-block-1').style.display = 'none';
7 }
8 onload = runPaintInvalidationTest;
9 </script>
10 <style>
11 body {
12 margin : 0;
13 }
14 .item {
15 display: inline-block;
16 height: 100px;
17 width: 100px;
18 }
19 </style>
20 Tests paint invalidation of inline blocks following an inline-block that is remo ved.
21 Passes if there is only one green square at the top-left corner of the window.
22 <div style="display: flex; height: 300px; position: absolute; top: 100px">
23 <div style="display: flex">
24 <div style="width: 100px">
25 <div id="inline-block-1" class="item" style="background-color: red"><br></ div>
26 <div id="inline-block-2" class="item" style="background-color: green"><br> </div>
27 </div>
28 </div>
29 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698