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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/flexbox/repaint-on-margin-change.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Test for repaint on margin change</title>
5 <script src="../resources/text-based-repaint.js" type="text/javascript"></sc ript>
6 <script>
7 function repaintTest()
8 {
9 if (window.testRunner)
10 document.getElementById('child-to-grow').style.marginLeft = '40p x';
11 }
12 </script>
13 <style>
14 .child {
15 height: 20px;
16 width: 20px;
17 background-color: green;
18 }
19 </style>
20 </head>
21 <body onload="runRepaintAndPixelTest()">
22 <div style="display: flex; flex-direction: column; height: 100%; background- color: blue">
23 <div style="flex: 1"></div>
24 <div class='nested-row-flexbox'>
25 <div class="child"></div>
26 <div class="child" id="child-to-grow"></div>
27 </div>
28 </div>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698