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

Side by Side Diff: LayoutTests/css3/flexbox/floated-flexbox.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 .flexbox { 4 .flexbox {
5 display: -webkit-flex; 5 display: flex;
6 background-color: #aaa; 6 background-color: #aaa;
7 border: 5px solid blue; 7 border: 5px solid blue;
8 float:left; 8 float:left;
9 } 9 }
10 .flexbox :nth-child(1) { 10 .flexbox :nth-child(1) {
11 background-color: salmon; 11 background-color: salmon;
12 } 12 }
13 .flexbox :nth-child(2) { 13 .flexbox :nth-child(2) {
14 background-color: lime; 14 background-color: lime;
15 } 15 }
16 </style> 16 </style>
17 <script src="../../resources/check-layout.js"></script> 17 <script src="../../resources/check-layout.js"></script>
18 <body onload="checkLayout('.flexbox')"> 18 <body onload="checkLayout('.flexbox')">
19 19
20 <div data-expected-width=130 data-expected-height=30 class=flexbox> 20 <div data-expected-width=130 data-expected-height=30 class=flexbox>
21 <div style="background-color:pink; width: 20px; height: 20px;"></div> 21 <div style="background-color:pink; width: 20px; height: 20px;"></div>
22 <div style="background-color:red; width: 100px; height: 20px;"></div> 22 <div style="background-color:red; width: 100px; height: 20px;"></div>
23 </div> 23 </div>
24 24
25 <div style="clear: left; position: relative"> 25 <div style="clear: left; position: relative">
26 <div style="width: 100px; height: 100px; background-color: green; float: lef t"></div> 26 <div style="width: 100px; height: 100px; background-color: green; float: lef t"></div>
27 <div data-expected-height=30 data-offset-x=100 data-offset-y=0 class="flexbo x" style="float: none"> 27 <div data-expected-height=30 data-offset-x=100 data-offset-y=0 class="flexbo x" style="float: none">
28 <div data-expected-height=20 data style="height: 20px; -webkit-flex: 1"> </div> 28 <div data-expected-height=20 data style="height: 20px; flex: 1"></div>
29 <div data-expected-height=20 style="height: 20px; -webkit-flex: 1"></div > 29 <div data-expected-height=20 style="height: 20px; flex: 1"></div>
30 </div> 30 </div>
31 </div> 31 </div>
32 32
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/flexbox/flexitem-stretch-range.html ('k') | LayoutTests/css3/flexbox/floated-flexitem.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698