3 <link href=
"resources/grid.css" rel=
"stylesheet">
10 padding:
5px
10px
15px
20px;
11 /* Ensures that the grid container is the containing block of the grid children. */
19 .onlyFirstRowOnlyFirstColumn {
20 background-color: green;
26 background-color: red;
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>
40 <div class=
"sizedToGridArea red"></div>
41 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
44 <div class=
"grid verticalRL">
45 <div class=
"sizedToGridArea red"></div>
46 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
49 <div class=
"grid verticalLR">
50 <div class=
"sizedToGridArea red"></div>
51 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
54 <div class=
"grid horizontalBT">
55 <div class=
"sizedToGridArea red"></div>
56 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
59 <div class=
"grid directionRTL">
60 <div class=
"sizedToGridArea red"></div>
61 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
64 <div class=
"grid verticalRL directionRTL">
65 <div class=
"sizedToGridArea red"></div>
66 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
69 <div class=
"grid verticalLR directionRTL">
70 <div class=
"sizedToGridArea red"></div>
71 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>
74 <div class=
"grid horizontalBT directionRTL">
75 <div class=
"sizedToGridArea red"></div>
76 <div class=
"sizedToGridArea absolute onlyFirstRowOnlyFirstColumn">XX
</div>