| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <link href="resources/flexbox.css" rel="stylesheet"> | 3 <link href="resources/flexbox.css" rel="stylesheet"> |
| 4 <style> | 4 <style> |
| 5 .flexbox > div { | 5 .flexbox > div { |
| 6 font-family: Ahem; | 6 font-family: Ahem; |
| 7 font-size: 14px; | 7 font-size: 14px; |
| 8 } | 8 } |
| 9 | 9 |
| 10 .flex-one-one-zero-percent { | 10 .flex-one-one-zero-percent { |
| 11 flex: 1 1 0%; | 11 flex: 1 1 0%; |
| 12 min-width: 0; |
| 13 min-height: 0; |
| 12 } | 14 } |
| 13 | 15 |
| 14 .flex-one-one-zero-px { | 16 .flex-one-one-zero-px { |
| 15 flex: 1 1 0px; | 17 flex: 1 1 0px; |
| 18 min-width: 0; |
| 19 min-height: 0; |
| 16 } | 20 } |
| 17 | 21 |
| 18 .vertical { | 22 .vertical { |
| 19 -webkit-writing-mode: vertical-rl; | 23 -webkit-writing-mode: vertical-rl; |
| 20 } | 24 } |
| 21 </style> | 25 </style> |
| 22 <script src="../../resources/check-layout.js"></script> | 26 <script src="../../resources/check-layout.js"></script> |
| 23 <body onload="checkLayout('.flexbox');"> | 27 <body onload="checkLayout('.flexbox');"> |
| 24 <div class="flexbox column"> | 28 <div class="flexbox column"> |
| 25 <div class="flex-one" data-expected-height="14">Flex item with flex: 1</div> | 29 <div class="flex-one" data-expected-height="14">Flex item with flex: 1</div> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 39 | 43 |
| 40 <div class="flexbox column vertical"> | 44 <div class="flexbox column vertical"> |
| 41 <div class="flex-one-one-zero-percent" data-expected-width="14">Flex item with
flex: 1 1 0%</div> | 45 <div class="flex-one-one-zero-percent" data-expected-width="14">Flex item with
flex: 1 1 0%</div> |
| 42 </div> | 46 </div> |
| 43 | 47 |
| 44 <div class="flexbox column vertical"> | 48 <div class="flexbox column vertical"> |
| 45 <div class="flex-one-one-zero-px" data-expected-width="0">Flex item with flex:
1 1 0px</div> | 49 <div class="flex-one-one-zero-px" data-expected-width="0">Flex item with flex:
1 1 0px</div> |
| 46 </div> | 50 </div> |
| 47 </body> | 51 </body> |
| 48 </html> | 52 </html> |
| OLD | NEW |