Closed Bug 1519971 Opened 6 years ago Closed 6 years ago

Treat 'position: fixed' changes as scroll anchoring suppression triggers

Categories

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

enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: rhunt, Assigned: rhunt)

References

(Blocks 1 open bug)

Details

See this spec issue for background [1].

It looks like Chrome does treat 'position: fixed' changes as suppression triggers, so we probably should as well [2].

[1] https://github.com/w3c/csswg-drafts/issues/3511
[2] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/layout/layout_object.cc?l=2336&rcl=fa080a575f69a1d1af02d8cb6a04a3b23bdd3cb0

Oh, we actually do this already [1]. I was mislead by the name 'IsAbsolutelyPositioned'.

[1] https://searchfox.org/mozilla-central/source/layout/style/nsStyleStruct.h#2105

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.