[css-grid] Import additional grid layout tests and update TestExpectations
[WebKit-https.git] / LayoutTests / fast / css-grid-layout / grid-self-baseline-02-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    width: 175px;
12 }
13 .block1 > :nth-child(1) { font-size:24px; }
14 .block1 > :nth-child(2) { font-size:32px; }
15 .block2 > :nth-child(1) { font-size:48px; }
16 .block2 > :nth-child(2) { font-size:64px; }
17 .item {
18    display: inline-block;
19    border-width: 2px 5px 3px 4px;
20    border-style: solid;
21    padding: 6px 3px 7px 8px;
22    margin: 10px 6px 4px 12px;
23 }
24 .extraLeftPadding { padding-left: 30px; }
25 .extraRightPadding { padding-right: 30px; }
26 .area { display: inline-block; }
27 .block1 > .area:nth-child(1) { height: 60px;  }
28 .block1 > .area:nth-child(2) { height: 60px;  }
29 .block2 > .area:nth-child(1) { height: 75px;  }
30 .block2 > .area:nth-child(2) { height: 100px; }
31 .block1 { float: left;  }
32 .block2 { float: left;  }
33 </style>
34
35 <p>1x4 with parallel items, but opposite block-flow direction.<br>All items share 'first-row' Baseline Context. No item shares any column-like Baseline Context.<br>We have 2 baseline-sharing groups.<br>The 'align-self' property (orthogonal to the shared context) aligns items in each group along the baseline-axis using the row-like baseline.</p>
36 <div class="block verticalLR"><div class="block1"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div><div class="block2 verticalRL"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div></div>
37 <div class="block verticalLR"><div class="block1"><div class="area"><div class="item extraLeftPadding">A</div></div><div class="area"><div class="item">A</div></div></div><div class="block2 verticalRL"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div></div>
38 <div class="block verticalRL"><div class="block1"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div><div class="block2 verticalLR"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div></div>
39 <div class="block verticalRL"><div class="block1"><div class="area"><div class="item extraRightPadding">A</div></div><div class="area"><div class="item">A</div></div></div><div class="block2 verticalLR"><div class="area"><div class="item">A</div></div><div class="area"><div class="item">A</div></div></div></div>