mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
1f3b8f19a0
- Added new WebIDL dictionary, ScrollToOptions. This dictionary extends ScrollOptions by adding "left" and "top", specifying the scroll offset. This will be later extended with more members to allow scroll offsets to be specified with logical axes. - Implemented Window.Scroll, Window.ScrollTo, Window.ScrollBy, Element.Scroll, Element.ScrollTo, and Element.ScrollBy functions that accept ScrollToOptions as a single parameter. - Removed ScrollOptions dictionary parameter from existing Window.Scroll, Window.ScrollTo, and Window.ScrollBy functions as these have been replaced with functions accepting a single parameter, ScrollToOptions. - Added new WebIDL dictionary, ScrollIntoViewOptions. This dictionary extends ScrollOptions by adding "block", specifying whether the element start or end will be scrolled into view. - Replaced Element.ScrollIntoView(bool,ScrollOptions) with Element.ScrollIntoView(ScrollIntoViewOptions) to match updated CSSOM-View scroll-behavior specification. |
||
---|---|---|
.. | ||
content | ||
document | ||
moz.build |