| OLD | NEW |
| 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 position: relative; | 7 position: relative; |
| 8 -webkit-flex-flow: column wrap; | 8 flex-flow: column wrap; |
| 9 margin-top: 20px; | 9 margin-top: 20px; |
| 10 -webkit-align-content: flex-start; | 10 align-content: flex-start; |
| 11 } | 11 } |
| 12 .flexbox > div { | 12 .flexbox > div { |
| 13 border: 0; | 13 border: 0; |
| 14 -webkit-flex: none; | 14 flex: none; |
| 15 } | 15 } |
| 16 | 16 |
| 17 .flexbox :nth-child(1) { | 17 .flexbox :nth-child(1) { |
| 18 background-color: lightblue; | 18 background-color: lightblue; |
| 19 } | 19 } |
| 20 .flexbox :nth-child(2) { | 20 .flexbox :nth-child(2) { |
| 21 background-color: lightgreen; | 21 background-color: lightgreen; |
| 22 } | 22 } |
| 23 .flexbox :nth-child(3) { | 23 .flexbox :nth-child(3) { |
| 24 background-color: pink; | 24 background-color: pink; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 54 | 54 |
| 55 <div data-expected-width="200" data-expected-height="30" class="flexbox" style="
width: 200px; height: 50px; max-height: 30px;"> | 55 <div data-expected-width="200" data-expected-height="30" class="flexbox" style="
width: 200px; height: 50px; max-height: 30px;"> |
| 56 <div data-offset-x="0" data-offset-y="0" style="width: 50px; height: 20px"></d
iv> | 56 <div data-offset-x="0" data-offset-y="0" style="width: 50px; height: 20px"></d
iv> |
| 57 <div data-offset-x="50" data-offset-y="0" style="width: 50px; height: 20px"></
div> | 57 <div data-offset-x="50" data-offset-y="0" style="width: 50px; height: 20px"></
div> |
| 58 <div data-offset-x="100" data-offset-y="0" style="width: 50px; height: 20px"><
/div> | 58 <div data-offset-x="100" data-offset-y="0" style="width: 50px; height: 20px"><
/div> |
| 59 <div data-offset-x="150" data-offset-y="0" style="width: 50px; height: 20px"><
/div> | 59 <div data-offset-x="150" data-offset-y="0" style="width: 50px; height: 20px"><
/div> |
| 60 </div> | 60 </div> |
| 61 | 61 |
| 62 </body> | 62 </body> |
| 63 </html> | 63 </html> |
| OLD | NEW |