Make `auto` default for Element.scrollIntoView
Categories
(Core :: Layout, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Comment 4•1 month ago
|
||
Revert for causing wr failures on scrollbar-gutter-scroll-into-view.html.
| Assignee | ||
Comment 5•1 month ago
|
||
The previous change collapsed the auto fallback to a fixed pair (Start for
the physical vertical axis, Nearest for the physical horizontal axis), which
matches the spec defaults (block: start, inline: nearest) only in horizontal
writing modes. In vertical writing modes the physical-to-logical mapping is
reversed, and in vertical-rl the block-axis default is "end" rather than
"start".
Pass the target's writing mode through ScrollToShowRect into
GetApplicableWhereToScroll so it can resolve "auto" against the correct
logical axis.
This fixes the
testing/web-platform/tests/css/css-overflow/scrollbar-gutter-scroll-into-view.html
failure.
| Assignee | ||
Comment 6•1 month ago
|
||
Posted an additional change to fix the scrollbar-gutter-scroll-into-view.html failure.
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/59725 for changes under testing/web-platform/tests
https://hg.mozilla.org/mozilla-central/rev/a5d3125bbfa0
https://hg.mozilla.org/mozilla-central/rev/d3d82538775f
Upstream PR merged by moz-wptsync-bot
Updated•25 days ago
|
Description
•