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

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

Issue 1909153002: [css-grid] Fix bug with positioned items in vertical writing mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Increase size of grids in the tests to avoid weird visual results Created 4 years, 8 months 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <link href="resources/grid.css" rel="stylesheet"> 3 <link href="resources/grid.css" rel="stylesheet">
4 <style> 4 <style>
5 5
6 .grid { 6 .grid {
7 display: block; 7 display: block;
8 margin: 1px; 8 margin: 5px;
9 width: 50px; 9 width: 100px;
10 height: 25px; 10 height: 75px;
11 padding: 5px 10px 15px 20px; 11 padding: 5px 10px 15px 20px;
12 border-style: solid;
13 border-width: 5px 10px 15px 20px;
14 float: left;
12 } 15 }
13 16
14 .green { 17 .green {
15 background-color: green; 18 background-color: green;
19 width: 30px;
20 height: 20px;
21 font: 10px/1 Ahem;
22 }
23
24 .verticalSize {
25 width: 20px;
26 height: 30px;
16 } 27 }
17 28
18 </style> 29 </style>
19 <body> 30 <body>
20 31
21 <p>This test checks the behavior of the positioned grid children in combination with the writing modes and text direction properties.</p> 32 <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> 33 <p>For the test to pass you should see no red and only green boxes. The black bo x will be positioned depending on the writing mode and text direction values.</p >
23 34
24 <div class="grid"> 35 <div class="grid">
25 <div class="sizedToGridArea green">XX</div> 36 <div class="green">XX</div>
26 </div> 37 </div>
27 38
28 <div class="grid verticalRL"> 39 <div class="grid verticalRL">
29 <div class="sizedToGridArea green">XX</div> 40 <div class="green verticalSize">XX</div>
30 </div> 41 </div>
31 42
32 <div class="grid verticalLR"> 43 <div class="grid verticalLR">
33 <div class="sizedToGridArea green">XX</div> 44 <div class="green verticalSize">XX</div>
34 </div> 45 </div>
35 46
36 <div class="grid directionRTL"> 47 <div class="grid directionRTL">
37 <div class="sizedToGridArea green">XX</div> 48 <div class="green">XX</div>
38 </div> 49 </div>
39 50
40 <div class="grid verticalRL directionRTL"> 51 <div class="grid verticalRL directionRTL">
41 <div class="sizedToGridArea green">XX</div> 52 <div class="green verticalSize">XX</div>
42 </div> 53 </div>
43 54
44 <div class="grid verticalLR directionRTL"> 55 <div class="grid verticalLR directionRTL">
45 <div class="sizedToGridArea green">XX</div> 56 <div class="green verticalSize">XX</div>
57 </div>
58
59 <div class="grid">
60 <div class="green">XX</div>
61 </div>
62
63 <div class="grid verticalRL">
64 <div class="green verticalSize">XX</div>
65 </div>
66
67 <div class="grid verticalLR">
68 <div class="green verticalSize">XX</div>
69 </div>
70
71 <div class="grid directionRTL">
72 <div class="green">XX</div>
73 </div>
74
75 <div class="grid verticalRL directionRTL">
76 <div class="green verticalSize">XX</div>
77 </div>
78
79 <div class="grid verticalLR directionRTL">
80 <div class="green verticalSize">XX</div>
46 </div> 81 </div>
47 82
48 </body> 83 </body>
49 </html> 84 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698