Closed Bug 1518631 Opened 7 years ago Closed 7 years ago

Dynamic changes to overflow-anchor should invalidate the scroll anchor

Categories

(Core :: Layout: Scrolling and Overflow, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This isn't in the spec explicitly, and I'm not sure if Blink handles this either based on [1].

I've got a patch to fix this and a couple WPTs demonstrating the issue.

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=787358

I believe that changes to 'overflow-anchor' should invalidate the current scroll anchor. This isn't in the spec, but there's an issue open for it [1]. [1] https://github.com/w3c/csswg-drafts/issues/3494
No longer depends on: 1305957
Priority: -- → P3

Chrome doesn't do this, so I don't think we need to do this for an initial release.

No longer blocks: scroll-anchoring-release
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/24f969298ec5 Invalidate scroll anchor container on changes to 'overflow-anchor' property and add tests. r=dholbert
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/14927 for changes under testing/web-platform/tests
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: