Closed Bug 1520344 Opened 2 years ago Closed 2 years ago
Store last scroll anchor position in writing-mode relative coordinates
47 bytes, text/x-phabricator-request
|Details | Review|
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.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/57aacc322be1 Store last scroll anchor position in writing-mode relative coordinates. r=dholbert
You need to log in before you can comment on or make changes to this bug.