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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/flexbox/flexitem-no-margin-collapsing.html

Issue 2130543003: Convert some flexbox tests to testharness.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 <link href="resources/flexbox.css" rel="stylesheet"> 4 <link href="resources/flexbox.css" rel="stylesheet">
5 <style> 5 <style>
6 .flexbox { 6 .flexbox {
7 background-color: lightgrey; 7 background-color: lightgrey;
8 } 8 }
9 .flexbox p { 9 .flexbox p {
10 height: 100px; 10 height: 100px;
11 width: 100px; 11 width: 100px;
12 margin: 10px; 12 margin: 10px;
13 background-color: blue; 13 background-color: blue;
14 } 14 }
15 </style> 15 </style>
16 <script src="../../resources/js-test.js"></script>
17 <script src="../../resources/testharness.js"></script> 16 <script src="../../resources/testharness.js"></script>
18 <script src="../../resources/testharnessreport.js"></script> 17 <script src="../../resources/testharnessreport.js"></script>
19 <script src="../../resources/check-layout-th.js"></script> 18 <script src="../../resources/check-layout-th.js"></script>
20 </head> 19 </head>
21 <body onload="checkLayout('.flexbox')"> 20 <body onload="checkLayout('.flexbox')">
22 <div id=log></div> 21 <div id=log></div>
23 22
24 <div class="flexbox" style="position: relative"> 23 <div class="flexbox" style="position: relative">
25 <div data-offset-x="0" data-offset-y="0" data-expected-width="120" data-expected -height="120"> 24 <div data-offset-x="0" data-offset-y="0" data-expected-width="120" data-expected -height="120">
26 <p data-offset-x="10" data-offset-y="10" data-expected-width="100" data-expe cted-height="100"></p> 25 <p data-offset-x="10" data-offset-y="10" data-expected-width="100" data-expe cted-height="100"></p>
27 </div> 26 </div>
28 </div> 27 </div>
29 28
30 </body> 29 </body>
31 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698