Closed
Bug 1520344
Opened 5 years ago
Closed 5 years ago
Store last scroll anchor position in writing-mode relative coordinates
Categories
(Core :: Layout: Scrolling and Overflow, enhancement, P3)
Core
Layout: Scrolling and Overflow
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
We currently store the last anchor position in absolute (top-left corner) coordinates. This isn't correct based on the spec.
Assignee | ||
Comment 1•5 years ago
|
||
This commits changes ScrollAnchorContainer to store the offset of the block-start-edge of the anchor node to the block-start-edge of the scroll frame, instead of the offsets of physical top-left corners. The logic to clamp the negative portions of scroll anchor bounding rects is also amended to only clamp the portion that is beyond the border-start-edge in the block axis. The 'start-edge-in-block-layout-direction.html' test now passes with these changes. It was thought that this change was failing due to differences in 'scrollLeft/scrollTop' but it seems that was a misdiagnosis.
Updated•5 years ago
|
Priority: -- → P3
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/57aacc322be1 Store last scroll anchor position in writing-mode relative coordinates. r=dholbert
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in
before you can comment on or make changes to this bug.
Description
•