Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / deprecated-flexbox / 002.html
blob200d51e48d1f7efc6d7cf9ed43e97ed163162f60
1 <html>
2 <head>
3 <style>
4 div.crossTop {
5 height: 300px;
6 width: 100px;
7 background-color:green;
8 display: -moz-box;
9 display: -webkit-box;
10 display: box;
11 -moz-box-align: center;
12 -webkit-box-align: center;
13 box-align: center;
14 -moz-box-orient: vertical;
15 -webkit-box-orient: vertical;
16 box-orient: vertical;
19 div.crossBar {
20 height: 100px;
21 width: 300px;
22 background-color:green;
23 margin-top: 100px;
24 margin-left: -100px;
26 </style>
27 </head>
28 <body>
29 You should see a green cross below (300 pixels wide and 300 pixels tall). This is a test to ensure that
30 boxes don't obey the overconstraint correction (margin-right/left should not be corrected when a box is
31 overconstrained).
33 <div style="padding:100px">
34 <div class="crossTop">
35 <div class="crossBar"></div>
36 </div>
37 </div>
38 </body>
39 </html>