Visitar URL original
Bug 1650966 [wpt PR 24477] - [css-grid] Check that 'align-self: last … · mozilla/gecko-dev@7f82acf · GitHub
Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 7f82acf

Browse files
fantasaimoz-wptsync-bot
authored andcommitted
Bug 1650966 [wpt PR 24477] - [css-grid] Check that 'align-self: last baseline' does not interfere with baseline alignment in first row., a=testonly
Automatic update from web-platform-tests [css-grid] Check that 'align-self: last baseline' does not interfere with baseline alignment in first row. w3c/csswg-drafts#5293 -- wpt-commits: e3698c7bb3c309df69134e9bc0a375f00535e226 wpt-pr: 24477
1 parent e6df1c5 commit 7f82acf

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎testing/web-platform/tests/css/css-grid/alignment/grid-baseline-004.html‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,14 @@
133133

134134
<p>
135135
This case shows 3 items' areas intersecting the first row and first column,
136+
but none of them participate in baseline alignment in the first row,
136137
so the dom order must be used to determine each grid's baseline.
137138
</p>
138139
<div class="container" data-expected-width="480" data-expected-height="165">
139140
<div class="grid twoRows" data-offset-x="0" data-offset-y="40">
140141
<div class="firstRowFirstColumn target" data-offset-x="0" data-offset-y="0"></div>
141142
<div class="firstRowBothColumn" data-offset-x="0" data-offset-y="15"></div>
142-
<div class="bothRowFirstColumn" data-offset-x="0" data-offset-y="10"></div>
143+
<div class="bothRowFirstColumn style2" style="align-self: last baseline" data-offset-x="0"></div>
143144
</div>
144145
<div class="grid twoRows" data-offset-x="160" data-offset-y="0">
145146
<div class="bothRowFirstColumn target" data-offset-x="0" data-offset-y="10"></div>
@@ -155,18 +156,18 @@
155156

156157
<p>
157158
This case shows 3 items' areas intersecting the first row and first column,
158-
but one of the items participates in baseline alignment,
159+
but one of the items participates in baseline alignment in the first row,
159160
so such item is used to determine the grid's baseline
160161
instead of using the dom order.
161162
</p>
162163
<div class="container" data-expected-width="480" data-expected-height="165">
163164
<div class="grid twoRows" data-offset-x="0" data-offset-y="55">
164165
<div class="firstRowFirstColumn" data-offset-x="0" data-offset-y="0"></div>
165166
<div class="firstRowBothColumn alignSelfBaseline target" style="width: 100px; height: 20px;" data-offset-x="0" data-offset-y="15"></div>
166-
<div class="bothRowFirstColumn" data-offset-x="0" data-offset-y="10"></div>
167+
<div class="bothRowFirstColumn" data-offset-x="0" data-offset-y="10"></div>
167168
</div>
168169
<div class="grid twoRows" data-offset-x="160" data-offset-y="40">
169-
<div class="bothRowFirstColumn" data-offset-x="0" data-offset-y="10"></div>
170+
<div class="bothRowFirstColumn style2" style="align-self: last baseline" data-offset-x="0"></div>
170171
<div class="firstRowFirstColumn alignSelfBaseline target" style="width: 50px; height: 50px;" data-offset-x="0" data-offset-y="0"></div>
171172
<div class="firstRowBothColumn" data-offset-x="0" data-offset-y="15"></div>
172173
</div>

0 commit comments

Comments
 (0)