Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / flexbox / auto-margins-expected.html
blob66d52c3c51270cb5a021420dd7fc1cd76dd8db32
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
6 #circles, #circles div {
7 border: 1em solid blue;
8 border-radius:50%;
9 margin: auto;
12 #circles { width:9em; height:9em; }
14 </style>
15 </head>
16 <body>
17 <p>These tests are from the spec: <a href="http://dev.w3.org/csswg/css3-flexbox/#auto-margins">http://dev.w3.org/csswg/css3-flexbox/#auto-margins</a>.</p>
19 <p>The word OK should be centered vertically and horizontally.</p>
20 <div style="width: 4em; height: 4em; background: silver">
21 <table style="width: 100%; height: 100%;"><tr><td style="text-align: center">OK</td></tr></table>
22 </div>
24 <div style="width: 4em; height: 4em; margin-top: 10px; background: silver; -webkit-writing-mode: vertical-rl">
25 <table style="width: 100%; height: 100%;"><tr><td style="text-align: center">OK</td></tr></table>
26 </div>
28 <p>You should see 3 blue concentric circles.</p>
29 <div id="circles">
30 <div style="width: 5em; height: 5em; margin-top: 1em;">
31 <div style="width: 1em; height: 1em; margin-top: 1em;"></div>
32 </div>
33 </div>
35 <p>The computed style of each margin should not be 0.<br>OK: PASS<br>Vertical OK: PASS</p>
36 </body>
37 </html>