OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px;"> | 2 <div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px;"> |
3 <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200
data-expected-height=100></div> | 3 <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200
data-expected-height=100></div> |
4 </div> | 4 </div> |
5 | 5 |
6 <div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px; -web
kit-box-orient: vertical;"> | 6 <div id="flexbox" style="display: -webkit-box; height: 100px; width: 200px; -web
kit-box-orient: vertical;"> |
7 <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200
data-expected-height=100></div> | 7 <div style="overflow: scroll; -webkit-box-flex: 1;" data-expected-width=200
data-expected-height=100></div> |
8 </div> | 8 </div> |
9 | 9 |
10 <script src="../../resources/check-layout.js"></script> | 10 <script src="../../resources/check-layout.js"></script> |
11 <script> | 11 <script> |
12 if (window.testRunner) | 12 if (window.testRunner) |
13 testRunner.dumpAsText(); | 13 testRunner.dumpAsText(); |
14 checkLayout('#flexbox'); | 14 checkLayout('#flexbox'); |
15 </script> | 15 </script> |
OLD | NEW |