OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 body { | 4 body { |
5 margin: 0; | 5 margin: 0; |
6 } | 6 } |
7 .horizontal-box { | 7 .horizontal-box { |
8 display: -webkit-flex; | 8 display: flex; |
9 } | 9 } |
10 .horizontal-box div { | 10 .horizontal-box div { |
11 height: 30px; | 11 height: 30px; |
12 border: 0; | 12 border: 0; |
13 margin-bottom: 10px; | 13 margin-bottom: 10px; |
14 -webkit-flex: 1; | 14 flex: 1; |
15 } | 15 } |
16 | 16 |
17 .first { | 17 .first { |
18 background-color: #0f0; | 18 background-color: #0f0; |
19 } | 19 } |
20 .second { | 20 .second { |
21 background-color: #0d0; | 21 background-color: #0d0; |
22 } | 22 } |
23 .third { | 23 .third { |
24 background-color: #090; | 24 background-color: #090; |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 </div> | 114 </div> |
115 | 115 |
116 <!-- This should not crash. --> | 116 <!-- This should not crash. --> |
117 <div class="horizontal-box"></div> | 117 <div class="horizontal-box"></div> |
118 | 118 |
119 <div style="position:absolute; left: -10000px;">You should see identical green b
ars going from light green | 119 <div style="position:absolute; left: -10000px;">You should see identical green b
ars going from light green |
120 (left) to dark green (right).</div> | 120 (left) to dark green (right).</div> |
121 | 121 |
122 </body> | 122 </body> |
123 </html> | 123 </html> |
OLD | NEW |