| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <style> | 3 <style> |
| 4 .container { | 4 .container { |
| 5 position: relative; | 5 position: relative; |
| 6 background-color: pink; | 6 background-color: pink; |
| 7 outline: 1px solid black; | 7 outline: 1px solid black; |
| 8 display: inline-block; | 8 display: inline-block; |
| 9 } | 9 } |
| 10 .flexbox { | 10 .flexbox { |
| 11 display: -webkit-flex; | 11 display: flex; |
| 12 background-color: grey; | 12 background-color: grey; |
| 13 width: 100px; | 13 width: 100px; |
| 14 height: 100px; | 14 height: 100px; |
| 15 } | 15 } |
| 16 .flexbox > * { | 16 .flexbox > * { |
| 17 -webkit-flex: none; | 17 flex: none; |
| 18 } | 18 } |
| 19 .title { | 19 .title { |
| 20 margin-top: 1em; | 20 margin-top: 1em; |
| 21 } | 21 } |
| 22 .ltr { | 22 .ltr { |
| 23 direction: ltr; | 23 direction: ltr; |
| 24 } | 24 } |
| 25 .rtl { | 25 .rtl { |
| 26 direction: rtl; | 26 direction: rtl; |
| 27 } | 27 } |
| 28 .horizontal-tb { | 28 .horizontal-tb { |
| 29 -webkit-writing-mode: horizontal-tb; | 29 -webkit-writing-mode: horizontal-tb; |
| 30 } | 30 } |
| 31 .horizontal-bt { | 31 .horizontal-bt { |
| 32 -webkit-writing-mode: horizontal-bt; | 32 -webkit-writing-mode: horizontal-bt; |
| 33 } | 33 } |
| 34 .vertical-rl { | 34 .vertical-rl { |
| 35 -webkit-writing-mode: vertical-rl; | 35 -webkit-writing-mode: vertical-rl; |
| 36 } | 36 } |
| 37 .vertical-lr { | 37 .vertical-lr { |
| 38 -webkit-writing-mode: vertical-lr; | 38 -webkit-writing-mode: vertical-lr; |
| 39 } | 39 } |
| 40 .row { | 40 .row { |
| 41 -webkit-flex-flow: row; | 41 flex-flow: row; |
| 42 } | 42 } |
| 43 .row-reverse { | 43 .row-reverse { |
| 44 -webkit-flex-flow: row-reverse; | 44 flex-flow: row-reverse; |
| 45 } | 45 } |
| 46 .column { | 46 .column { |
| 47 -webkit-flex-flow: column; | 47 flex-flow: column; |
| 48 } | 48 } |
| 49 .column-reverse { | 49 .column-reverse { |
| 50 -webkit-flex-flow: column-reverse; | 50 flex-flow: column-reverse; |
| 51 } | 51 } |
| 52 .flexbox > :nth-child(1) { | 52 .flexbox > :nth-child(1) { |
| 53 background-color: blue; | 53 background-color: blue; |
| 54 } | 54 } |
| 55 .flexbox > :nth-child(2) { | 55 .flexbox > :nth-child(2) { |
| 56 background-color: green; | 56 background-color: green; |
| 57 } | 57 } |
| 58 .flexbox > :nth-child(3) { | 58 .flexbox > :nth-child(3) { |
| 59 background-color: red; | 59 background-color: red; |
| 60 } | 60 } |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 '<div style="width: 20px; height: 20px;" ' + asString(flexItemEx
pectations[1]) + '></div>\n' + | 182 '<div style="width: 20px; height: 20px;" ' + asString(flexItemEx
pectations[1]) + '></div>\n' + |
| 183 '</div>'; | 183 '</div>'; |
| 184 | 184 |
| 185 document.body.appendChild(container); | 185 document.body.appendChild(container); |
| 186 }) | 186 }) |
| 187 }) | 187 }) |
| 188 }) | 188 }) |
| 189 </script> | 189 </script> |
| 190 </body> | 190 </body> |
| 191 </html> | 191 </html> |
| OLD | NEW |