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

Side by Side Diff: LayoutTests/css3/flexbox/inline-flex.html

Issue 1088633002: Unprefix flexbox tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: whoops, a > went missing Created 5 years, 8 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 <html> 2 <html>
3 <style> 3 <style>
4 #testcase > div { 4 #testcase > div {
5 height: 50px; 5 height: 50px;
6 width: 50px; 6 width: 50px;
7 background-color: green; 7 background-color: green;
8 outline: 2px solid darkgreen; 8 outline: 2px solid darkgreen;
9 } 9 }
10 #testcase > div > div { 10 #testcase > div > div {
11 -webkit-flex: 1; 11 flex: 1;
12 } 12 }
13 </style> 13 </style>
14 <script src="../../resources/check-layout.js"></script> 14 <script src="../../resources/check-layout.js"></script>
15 <body onload="checkLayout('#testcase')"> 15 <body onload="checkLayout('#testcase')">
16 <p>This test passes if the three green boxes are on the same horizontal line.</p > 16 <p>This test passes if the three green boxes are on the same horizontal line.</p >
17 17
18 <div id="testcase" style="position: relative"> 18 <div id="testcase" style="position: relative">
19 <div data-offset-y="0" data-offset-x="0" data-expected-width="50" data-expected- height="50" style="display: inline-block"> 19 <div data-offset-y="0" data-offset-x="0" data-expected-width="50" data-expected- height="50" style="display: inline-block">
20 </div><div data-offset-y="0" data-offset-x="50" data-expected-width="50" data-ex pected-height="50" style="display: -webkit-inline-flex;"> 20 </div><div data-offset-y="0" data-offset-x="50" data-expected-width="50" data-ex pected-height="50" style="display: inline-flex;">
21 <div data-expected-width="25"></div> 21 <div data-expected-width="25"></div>
22 <div data-expected-width="25"></div> 22 <div data-expected-width="25"></div>
23 </div><div data-offset-y="0" data-offset-x="100" data-expected-width="50" data-e xpected-height="50" style="display: inline-block"></div> 23 </div><div data-offset-y="0" data-offset-x="100" data-expected-width="50" data-e xpected-height="50" style="display: inline-block"></div>
24 </div> 24 </div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/flexbox/floated-flexitem.html ('k') | LayoutTests/css3/flexbox/inline-flex-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698