| 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 body { | 5 body { |
| 6 margin: 0; | 6 margin: 0; |
| 7 } | 7 } |
| 8 .flexbox { | 8 .flexbox { |
| 9 width: 600px; | 9 width: 600px; |
| 10 background-color: #aaa; | 10 background-color: #aaa; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 <div class="flexbox"> | 61 <div class="flexbox"> |
| 62 <div data-expected-height="60" data-offset-y="0" style="-webkit-flex: 1 0 0;
height: 60px;"></div> | 62 <div data-expected-height="60" data-offset-y="0" style="-webkit-flex: 1 0 0;
height: 60px;"></div> |
| 63 <div data-expected-height="120" data-offset-y="0" style="-webkit-flex: 1 0 0;"
></div> | 63 <div data-expected-height="120" data-offset-y="0" style="-webkit-flex: 1 0 0;"
></div> |
| 64 <div data-expected-height="60" data-offset-y="30" style="-webkit-flex: 1 0 0;
height: 60px; margin: auto 0;"></div> | 64 <div data-expected-height="60" data-offset-y="30" style="-webkit-flex: 1 0 0;
height: 60px; margin: auto 0;"></div> |
| 65 <div data-expected-height="0" data-offset-y="120" style="-webkit-flex: 1 0 0;
margin: auto 0 0;"></div> | 65 <div data-expected-height="0" data-offset-y="120" style="-webkit-flex: 1 0 0;
margin: auto 0 0;"></div> |
| 66 <div data-expected-height="0" data-offset-y="60" style="-webkit-flex: 1 0 0; m
argin: auto 0;"></div> | 66 <div data-expected-height="0" data-offset-y="60" style="-webkit-flex: 1 0 0; m
argin: auto 0;"></div> |
| 67 <div data-expected-height="100" data-offset-y="10" style="-webkit-flex: 1 0 0;
height: 100px; margin: 10px 0;"></div> | 67 <div data-expected-height="100" data-offset-y="10" style="-webkit-flex: 1 0 0;
height: 100px; margin: 10px 0;"></div> |
| 68 <div data-expected-height="50" data-offset-y="20" style="-webkit-flex: 1 0 0;
height: 50px; margin: 20px 0 10px;"></div> | 68 <div data-expected-height="50" data-offset-y="20" style="-webkit-flex: 1 0 0;
height: 50px; margin: 20px 0 10px;"></div> |
| 69 <div data-expected-height="90" data-offset-y="20" style="-webkit-flex: 1 0 0;
margin: 20px 0 10px;"></div> | 69 <div data-expected-height="90" data-offset-y="20" style="-webkit-flex: 1 0 0;
margin: 20px 0 10px;"></div> |
| 70 <div data-expected-height="120" data-offset-y="0" style="-webkit-flex: 1 0 0;"
> | 70 <div data-expected-height="120" data-offset-y="0" style="-webkit-flex: 1 0 0;"
> |
| 71 <!-- Since no parent has a fixed height, this div shrink-wraps. --> | 71 <div data-expected-height="120" style="height: 100%; background-color:black"
></div> |
| 72 <div data-expected-height="0" style="height: 100%; background-color:black"><
/div> | |
| 73 </div> | 72 </div> |
| 74 </div> | 73 </div> |
| 75 | 74 |
| 76 <div class="flexbox" style="-webkit-align-items: flex-start"> | 75 <div class="flexbox" style="-webkit-align-items: flex-start"> |
| 77 <div data-expected-height="0" data-offset-y="0" style="-webkit-flex: 1 0 0;"
></div> | 76 <div data-expected-height="0" data-offset-y="0" style="-webkit-flex: 1 0 0;"
></div> |
| 78 <div data-expected-height="100" data-offset-y="0" style="-webkit-flex: 1 0 0
; height: 100px;"></div> | 77 <div data-expected-height="100" data-offset-y="0" style="-webkit-flex: 1 0 0
; height: 100px;"></div> |
| 79 </div> | 78 </div> |
| 80 | 79 |
| 81 <div class="flexbox" style="-webkit-align-items: flex-end"> | 80 <div class="flexbox" style="-webkit-align-items: flex-end"> |
| 82 <div data-expected-height="0" data-offset-y="100" style="-webkit-flex: 1 0 0
;"></div> | 81 <div data-expected-height="0" data-offset-y="100" style="-webkit-flex: 1 0 0
;"></div> |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 { | 284 { |
| 286 if (!condition) | 285 if (!condition) |
| 287 document.getElementById("results").innerText += msg; | 286 document.getElementById("results").innerText += msg; |
| 288 } | 287 } |
| 289 | 288 |
| 290 additionalBaselineChecks(); | 289 additionalBaselineChecks(); |
| 291 </script> | 290 </script> |
| 292 | 291 |
| 293 </body> | 292 </body> |
| 294 </html> | 293 </html> |
| OLD | NEW |