| Index: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-self-baseline-04-expected.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-self-baseline-04-expected.html b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-self-baseline-04-expected.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02e8866bb8d79d79d59a92edac37bfc5c8bc6621
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-self-baseline-04-expected.html
|
| @@ -0,0 +1,36 @@
|
| +<!DOCTYPE html>
|
| +<link href="resources/grid.css" rel="stylesheet">
|
| +<link href="resources/grid-alignment.css" rel="stylesheet">
|
| +<style>
|
| +body { margin: 0; }
|
| +.flex {
|
| + display: flex;
|
| + background: grey;
|
| + float: left;
|
| + margin: 5px;
|
| + text-orientation: sideways;
|
| +}
|
| +.row { flex-flow: row; }
|
| +.column { flex-flow: column; }
|
| +span:nth-child(1) { font-size:12px; }
|
| +span:nth-child(2) { font-size:16px; }
|
| +span:nth-child(3) { font-size:24px; }
|
| +span:nth-child(4) { font-size:32px; }
|
| +span {
|
| + border: 2px solid;
|
| + padding: 3px;
|
| + margin: 5px;
|
| +}
|
| +.extraTopPadding { padding-top: 15px; }
|
| +.extraBottomPadding { padding-bottom: 15px; }
|
| +.extraLeftPadding { padding-left: 15px; }
|
| +.extraRightPadding { padding-right: 15px; }
|
| +</style>
|
| +
|
| +<p>1x4 with parallel and orthogonal items.<br>2 items share 'first-row' (matches their inline axis) Baseline Context.<br>2 items participate in their own column-like Baseline Context.<br>The 'align-self' property can be used to align these 2 items along their block-axis so they are baseline-aligned to each other.<br>The Baseline Alignment may increase size contribution of some items.</p>
|
| +<div class="flex row itemsBaseline"><span>A</span><span class="verticalLR">A</span><span>A</span><span class="verticalLR">A</span></div>
|
| +<div class="flex row itemsBaseline"><span class="extraBottomPadding">A</span><span class="verticalLR extraTopPadding">A</span><span>A</span><span class="verticalLR">A</span></div>
|
| +<div class="flex row verticalLR itemsBaseline"><span class="horizontalTB">A</span><span>A</span><span class="horizontalTB">A</span><span>A</span></div>
|
| +<div class="flex row verticalLR itemsBaseline"><span class="horizontalTB extraLeftPadding">A</span><span class="extraRightPadding">A</span><span class="horizontalTB">A</span><span>A</span></div>
|
| +<div class="flex row verticalRL itemsBaseline"><span class="horizontalTB">A</span><span>A</span><span class="horizontalTB">A</span><span>A</span></div>
|
| +<div class="flex row verticalRL itemsBaseline"><span class="horizontalTB extraRightPadding">A</span><span class="extraLeftPadding">A</span><span class="horizontalTB">A</span><span>A</span></div>
|
|
|