Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <link href="resources/flexbox.css" rel="stylesheet"> | |
| 4 <style> | |
| 5 .flexbox { | |
| 6 background: green; | |
|
tony
2014/07/16 17:12:38
Nit: Style in our test html files isn't that impor
harpreet.sk
2014/07/17 08:03:25
Done.
| |
| 7 position: relative; | |
| 8 padding: 10px; | |
| 9 border: 2px solid red; | |
| 10 } | |
| 11 | |
| 12 .flexbox > div { | |
| 13 background: yellow; | |
| 14 flex: 1 0% 1; | |
| 15 border: 1px solid black; | |
| 16 width: 50px; | |
| 17 } | |
| 18 </style> | |
| 19 <script src="../../resources/check-layout.js"></script> | |
| 20 <body onload="checkLayout('.flexbox')"> | |
| 21 <div class="flexbox" style="width: 500px; height:100px"> | |
| 22 <div data-expected-width="52"></div> | |
| 23 <div data-expected-width="52"></div> | |
| 24 <div data-expected-width="52"></div> | |
| 25 </div> | |
| 26 </body> | |
| 27 </html> | |
| OLD | NEW |