Skip to content

Commit 1e79dd5

Browse files
fantasaimoz-wptsync-bot
authored andcommitted
Bug 1919961 [wpt PR 48232] - [css-inline-3] actually test end-edge, a=testonly
Automatic update from web-platform-tests [css-inline-3] actually test end-edge This reverts the reference adjustments in e6e8541 and instead applies `unsafe end` to force end alignment in the last testcase. -- wpt-commits: 059c97582eae4773266afad1d3346582b03a5aeb wpt-pr: 48232
1 parent 26b25be commit 1e79dd5

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

testing/web-platform/tests/css/css-inline/text-box-trim/text-box-trim-height-002-ref.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
background: lightgray;
66
block-size: 20px;
77
}
8+
.max-height > .spacer:first-child {
9+
margin-top: 80px; /* avoid overlap */
10+
}
811

912
.target {
1013
font: 100px/1 Ahem;
@@ -17,7 +20,8 @@
1720
}
1821

1922
.max-height > .target {
20-
height: 10px;
23+
margin-top: -70px;
24+
height: 80px;
2125
}
2226
</style>
2327

testing/web-platform/tests/css/css-inline/text-box-trim/text-box-trim-height-002.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
background: lightgray;
1111
block-size: 20px;
1212
}
13+
.max-height > .spacer:first-child {
14+
margin-top: 80px; /* avoid overlap */
15+
}
1316

1417
.target {
1518
font: 100px/2 Ahem;
1619
text-box-trim: trim-both;
1720
text-box-edge: text alphabetic;
18-
align-content: end;
21+
align-content: unsafe end;
1922
}
2023

2124
.height > .target {

0 commit comments

Comments
 (0)