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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-self-baseline-horiz-04-expected.html

Issue 1407633003: [css-grid] Implementation of Baseline Self-Alignment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Improving the skipped tesst by solving some rounding issues Created 3 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
(Empty)
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: 150px;
12 height: 350px;
13 }
14 .block > :nth-child(1) { font-size:24px; }
15 .block > :nth-child(2) { font-size:32px; }
16 .block > :nth-child(3) { font-size:48px; }
17 .block > :nth-child(4) { font-size:64px; }
18 .item {
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 .extraRightPadding { padding-right: 30px; }
25 .extraLeftPadding { padding-left: 30px; }
26 .item { display: inline; }
27 .left { vertical-align: bottom; }
28 </style>
29
30 <p>4x1 with parallel items. Items orthogonal to the baseline-axis will use a syn thesized baseline (border-box 'under' edge).<br>No item shares any row-like Base line Context. All items share 'first-column' Baseline Context.<br>Items particip ate in both, column and row baseline, but since they only share a column-like Ba seline Context only 'justify-self' (row baseline-axis) should apply.</p>
31 <div class="block verticalLR"><div class="item horizontalTB left">A</div><div cl ass="item horizontalTB left">A</div><div class="item horizontalTB left">A</div>< div class="item horizontalTB left">A</div></div>
32 <div class="block verticalLR"><div class="item horizontalTB extraRightPadding le ft">A</div><div class="item horizontalTB left">A</div><div class="item horizonta lTB extraLeftPadding left">A</div><div class="item horizontalTB left">A</div></d iv>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698