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

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

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for repaint on margin change</title> 4 <title>Test for repaint on margin change</title>
5 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ javascript"></script>
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> 5 <style>
14 .child { 6 .child {
15 height: 20px; 7 height: 20px;
16 width: 20px; 8 width: 20px;
17 } 9 }
18 </style> 10 </style>
19 </head> 11 </head>
20 <body onload="runRepaintTest()"> 12 <body>
21 <div style="display: flex; flex-direction: column; height: 100%"> 13 <div style="display: flex; flex-direction: column; height: 100%">
22 <div style="flex: 1"></div> 14 <div style="flex: 1"></div>
23 <div class='nested-row-flexbox'> 15 <div class='nested-row-flexbox'>
24 <div class="child"></div> 16 <div class="child"></div>
25 <div class="child" id="child-to-grow"></div> 17 <div class="child" id="child-to-grow" style="margin-left: 40px"></di v>
26 </div> 18 </div>
27 </div> 19 </div>
28 </body> 20 </body>
29 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698