Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Side by Side Diff: LayoutTests/fast/css-grid-layout/grid-positioned-children-writing-modes-expected.html

Issue 637033003: [CSS Grid Layout] Fix positioned grid children position and size (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/grid.css" rel="stylesheet">
4 <style>
5
6 .grid {
7 display: block;
8 margin: 1px;
9 width: 50px;
10 height: 25px;
11 padding: 5px 10px 15px 20px;
12 }
13
14 .green {
15 background-color: green;
16 }
17
18 </style>
19 <body>
20
21 <p>This test checks the behavior of the positioned grid children in combination with the writing modes and text direction properties.</p>
22 <p>For the test to pass you should see no red and all the green boxes should hav e the very the same position and size within each grey box. The black box will b e positioned depending on the writing mode and text direction values.</p>
23
24 <div class="grid">
25 <div class="sizedToGridArea green">XX</div>
26 </div>
27
28 <div class="grid verticalRL">
29 <div class="sizedToGridArea green">XX</div>
30 </div>
31
32 <div class="grid verticalLR">
33 <div class="sizedToGridArea green">XX</div>
34 </div>
35
36 <div class="grid horizontalBT">
37 <div class="sizedToGridArea green">XX</div>
38 </div>
39
40 <div class="grid directionRTL">
41 <div class="sizedToGridArea green">XX</div>
42 </div>
43
44 <div class="grid verticalRL directionRTL">
45 <div class="sizedToGridArea green">XX</div>
46 </div>
47
48 <div class="grid verticalLR directionRTL">
49 <div class="sizedToGridArea green">XX</div>
50 </div>
51
52 <div class="grid horizontalBT directionRTL">
53 <div class="sizedToGridArea green">XX</div>
54 </div>
55
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698