Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / writing-mode / table-percent-width-quirk.html
bloba0b06501dcce1fc95de0dc4afaae673bb30c07b0
1 <style>
2 * {
3 font-size: 16px;
4 font-family: Times;
5 padding: 0;
6 border-spacing: 0;
7 line-height: 10px;
9 .vertical {
10 -webkit-writing-mode: vertical-rl;
11 writing-mode: tb-rl;
13 .horizontal {
14 -webkit-writing-mode: horizontal-tb;
15 writing-mode: lr-tb;
17 .container {
18 width: 100px;
19 height: 50px;
20 position: absolute;
21 background-color: grey;
23 .positioned-child {
24 position: absolute;
25 background-color: blue;
27 .leaf {
28 background-color: green;
30 .content {
31 height: 20px;
32 width: 20px;
34 </style>
35 <!-- Each pair of cases below should render the same. -->
36 <div class="container" style="top: 50px">
37 <div class="positioned-child"><div class="content"></div><div class="leaf" style="width: 100%;"><div class="content"></div></div></div>
38 </div>
39 <div class="container" style="top: 125px">
40 <div class="positioned-child"><div class="content"></div><table class="leaf" style="width: 100%;"><tr><td><div class="content"></div></table></div>
41 </div>
42 <div class="container vertical" style="top: 200px">
43 <div class="positioned-child"><div class="content"></div><table class="leaf" style="height: 100%;"><tr><td><div class="content"></div></table></div>
44 </div>
45 <div class="container vertical" style="top: 275px">
46 <div class="positioned-child"><div class="content"></div><div class="leaf" style="height: 100%;"><div class="content"></div></div></div>
47 </div>
48 <div class="container vertical" style="top: 350px">
49 <div class="positioned-child"><div class="content"></div><table class="leaf horizontal" style="width: 100%;"><tr><td><div class="content"></div></table></div>
50 </div>
51 <div class="container vertical" style="top: 425px">
52 <div class="positioned-child"><div class="content"></div><div class="leaf horizontal" style="width: 100%;"><div class="content"></div></div></div>
53 </div>