[wpt-sync] Sync PR 47502 - [line-clamp] Allow clamp points after IFCs
Categories
(Core :: Layout: Scrolling and Overflow, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47502 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47502
Details from upstream follow.
Andreu Botella <abotella@igalia.com> wrote:
[line-clamp] Allow clamp points after IFCs
For
-webkit-line-clamp
(andline-clamp
with a number of lines),
the only place that could have a clamp point is after a line, so the
only place that callsBlockLineClampData::UpdateAfterLayout
in
Chromium code is after laying out an in-flow child. When
line-clamp: auto
was implemented, which can also clamp after a
block-level box, this call toUpdateAfterLayout
also handled
clamping after such children boxes, when they were in-flow.However, clamping after a new IFC was not tested until now, and as it
turns out it did not work, becauseUpdateAfterLayout
was not called
in the equivalent code inHandleNewFormattingContext
. This patch
fixes that.Bug: 40336192
Change-Id: I7b67be2c64f95d3effdd15a6e348e6cde7ac8976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5766555
Commit-Queue: Andreu Botella \<abotella@igalia.com>
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1338198}
Assignee | ||
Updated•3 months ago
|
Assignee | ||
Comment 1•3 months ago
|
||
Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests
Status Summary
Firefox
FAIL
: 2
Chrome
PASS
: 1
FAIL
: 1
Safari
FAIL
: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/css-overflow/line-clamp/line-clamp-auto-033.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /css/css-overflow/line-clamp/line-clamp-auto-034.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 4•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a4320692f6d3
https://hg.mozilla.org/mozilla-central/rev/49614b2c9977
Description
•