Closed Bug 1849640 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41571 - [sticky] Clear propagated sticky constraints from foreignObjects

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 41571 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/41571
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[sticky] Clear propagated sticky constraints from foreignObjects

By default foreignObjects create a PLSA. This can be turned off by
setting overflow:visible.

We had an issue upon a dynamic change when the sticky-constraints would
be invalid upon this dynamic change. Clear them when this happens.

(note there is a bit of spec vaugeness here, e.g. for position:fixed,
position:absolute we don't let them propagate past foreignObject
boundaries. Previously - before the new logic - we let them, now we
don't - which is consistent with fixedpos / abspos).

Bug: 1474157
Change-Id: I1566b1ffca6d844d11179dc1317a37a3783a2329
Reviewed-on: https://chromium-review.googlesource.com/4798796
WPT-Export-Revision: 85b2edc4afc94e97d167f4a55599e3d52f92b4d5

Component: web-platform-tests → SVG
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central

Total 1 tests

Status Summary

Firefox

PASS: 1

Links

Gecko CI (Treeherder)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2923e25ff969 [wpt PR 41571] - [sticky] Clear propagated sticky constraints from foreignObjects, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.