[wpt-sync] Sync PR 57974 - [layout] Fix SVG not having relayout upon transform change.
Categories
(Core :: SVG, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox150 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 57974 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/57974
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[layout] Fix SVG not having relayout upon transform change.
LayoutBlock::StyleWillChange has some special logic for invalidating
SVGs within the subtree upon a transform change.With LayoutReinsertOnInFlowStateChange enabled its possible for an
arbitrary SVG to be invalidated by LayoutBlock::StyleWillChange, but as
the object isn't attached to the layout-tree it won't get inserted as a
relayout root.For now - modify MarkContainerChainForLayout to prevent layout-roots if
the object isn't "rooted" (attached to the root of the layout-tree).As a followup we should change the logic within
LayoutBlock::StyleWillChange, as its relatively fragile.Bug: 485819134, 478682594
Change-Id: I2fa229382be634dbca536c80287a7c477cd2fb37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7597896
Reviewed-by: Morten Stenshorne \<mstensho@chromium.org>
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Auto-Submit: Ian Kilpatrick \<ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1588539}
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
| Assignee | ||
Comment 2•9 months 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
| Assignee | ||
Comment 3•9 months 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 5•8 months ago
|
||
| bugherder | ||
Description
•