Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / grid-positioned-children-writing-modes.html
blob0afb312d445c4db985e0a13379ec48acec78b91e
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/grid.css" rel="stylesheet">
4 <style>
6 .grid {
7 margin: 1px;
8 width: 50px;
9 height: 25px;
10 padding: 5px 10px 15px 20px;
11 /* Ensures that the grid container is the containing block of the grid children. */
12 position: relative;
15 .absolute {
16 position: absolute;
19 .onlyFirstRowOnlyFirstColumn {
20 background-color: green;
21 grid-column: 1 / 2;
22 grid-row: 1 / 2;
25 .red {
26 background-color: red;
27 width: 50px;
28 height: 25px;
29 top: 5px;
30 left: 20px;
33 </style>
34 <body>
36 <p>This test checks the behavior of the positioned grid children in combination with the writing modes and text direction properties.</p>
37 <p>For the test to pass you should see no red and all the green boxes should have the very the same position and size within each grey box. The black box will be positioned depending on the writing mode and text direction values.</p>
39 <div class="grid">
40 <div class="sizedToGridArea red"></div>
41 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
42 </div>
44 <div class="grid verticalRL">
45 <div class="sizedToGridArea red"></div>
46 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
47 </div>
49 <div class="grid verticalLR">
50 <div class="sizedToGridArea red"></div>
51 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
52 </div>
54 <div class="grid horizontalBT">
55 <div class="sizedToGridArea red"></div>
56 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
57 </div>
59 <div class="grid directionRTL">
60 <div class="sizedToGridArea red"></div>
61 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
62 </div>
64 <div class="grid verticalRL directionRTL">
65 <div class="sizedToGridArea red"></div>
66 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
67 </div>
69 <div class="grid verticalLR directionRTL">
70 <div class="sizedToGridArea red"></div>
71 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
72 </div>
74 <div class="grid horizontalBT directionRTL">
75 <div class="sizedToGridArea red"></div>
76 <div class="sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX</div>
77 </div>
79 </body>
80 </html>