[wpt-sync] Sync PR 51060 - Make the condition for "stop decoration propagation" tighter
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 51060 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/51060
Details from upstream follow.
Koji Ishii <kojii@chromium.org> wrote:
Make the condition for "stop decoration propagation" tighter
An \<li> marker can generate the following layout tree:
LayoutListItem (children-inline) LI
LayoutInsideListMarker ::marker
LayoutTextFragment (anonymous) "m"
LayoutText #text "a"If the \<li> has a :first-line style, the marker pseudo element will be
under a parent \<li> with a pseudo style, but the parent's pseudo style
should not apply to the marker. https://crrev.com/1138023 added code to
handle this situation, but it is after a check for stopping, which is
hitting and crashing. This patch makes the condition for "stop
decoration propagation" tighter so that the first-line case falls
into the last resort code.This is done behind a flag, CssDecoratingBoxFirstLine, for safety.
Fixed: 392927981
Change-Id: Ifccb122ac6aad84e3723f3346cede8971b564586Reviewed-on: https://chromium-review.googlesource.com/6310509
WPT-Export-Revision: 513e32a3eeafd628e60f720b76d7f75ec35a3844
Assignee | ||
Updated•17 days ago
|
Assignee | ||
Comment 1•17 days ago
|
||
Assignee | ||
Comment 2•17 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS
: 1
Chrome
PASS
: 1
Safari
PASS
: 1
Links
Comment 4•15 days ago
|
||
bugherder |
Description
•