[css-grid] Import additional grid layout tests and update TestExpectations
[WebKit-https.git] / LayoutTests / fast / css-grid-layout / grid-self-baseline-03-expected.html
1 <!DOCTYPE html>
2 <link href="resources/grid.css" rel="stylesheet">
3 <link href="resources/grid-alignment.css" rel="stylesheet">
4 <style>
5 body { margin: 0; }
6 .block {
7    background: grey;
8    float: left;
9    margin: 5px;
10    text-orientation: sideways;
11 }
12 .block > :nth-child(1) { font-size:24px; }
13 .block > :nth-child(2) { font-size:32px; }
14 .block > :nth-child(3) { font-size:48px; }
15 .block > :nth-child(4) { font-size:64px; }
16 .item {
17    border-width: 2px 5px 3px 4px;
18    border-style: solid;
19    padding: 6px 3px 7px 8px;
20    margin: 10px 6px 4px 12px;
21 }
22 .extraBottomPadding { padding-bottom: 30px; }
23 .extraLeftPadding { padding-left: 30px; }
24 .extraRightPadding { padding-right: 30px; }
25 .area:nth-child(1) { width: 70px;  }
26 .area:nth-child(2) { width: 80px;  }
27 .area:nth-child(3) { width: 100px;  }
28 .area:nth-child(4) { width: 125px; }
29 .area { display: inline-block; }
30 .block.verticalLR > .area { float: left;  }
31 .verticalLR > .area, .verticalRL > .area { width: auto; }
32 .verticalLR > .area:nth-child(1), .verticalRL > .area:nth-child(1) { height: 70px; }
33 .verticalLR > .area:nth-child(2), .verticalRL > .area:nth-child(2) { height: 80px; }
34 .verticalLR > .area:nth-child(3), .verticalRL > .area:nth-child(3) { height: 100px; }
35 .verticalLR > .area:nth-child(4), .verticalRL > .area:nth-child(4) { height: 125px; }
36 .block {
37    width: 375px;
38    height: 100px;
39 }
40 .block.verticalLR, .block.verticalRL {
41    width: 125px;
42    height: auto;
43 }
44 </style>
45
46 <p>1x4 with orthogonal items. Items orthogonal to the baseline-axis will use a synthesized baseline (border-box 'under' edge).<br>All items share 'first-row' Baseline Context. No item shares any column-like Baseline Context.<br>The 'align-self' property (orthogonal to the shared context) aligns all items along the baseline-axis using the row-like baseline.</p>
47 <div class="block"><div class="area verticalLR"><div class="item">A</div></div><div class="area verticalLR"><div class="item">A</div></div><div class="area verticalLR"><div class="item">A</div></div><div class="area verticalLR"><div class="item">A</div></div></div>
48 <div class="block"><div class="area verticalLR"><div class="item extraBottomPadding">A</div></div><div class="area verticalLR"><div class="item">A</div></div><div class="area verticalLR"><div class="item">A</div></div><div class="area verticalLR"><div class="item">A</div></div></div>
49
50 <br clear="all">
51
52 <div class="block verticalLR"><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div></div>
53 <div class="block verticalLR"><div class="area horizontalTB"><div class="item extraLeftPadding">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item ">A</div></div><div class="area horizontalTB"><div class="item">A</div></div></div>
54 <div class="block verticalRL"><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div></div>
55 <div class="block verticalRL"><div class="area horizontalTB"><div class="item extraRightPadding">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div><div class="area horizontalTB"><div class="item">A</div></div></div>