mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
script: When using WebRender, keep the DOM-side scroll positions for
elements with `overflow: scroll` up to date, and take them into account when doing hit testing. Closes #11648.
This commit is contained in:
parent
ce88b8ed30
commit
041cfe6d0a
14 changed files with 259 additions and 47 deletions
|
@ -136,11 +136,17 @@ partial interface Window {
|
|||
readonly attribute long pageXOffset;
|
||||
readonly attribute long scrollY;
|
||||
readonly attribute long pageYOffset;
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scroll(optional ScrollToOptions options);
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scroll(unrestricted double x, unrestricted double y);
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scrollTo(optional ScrollToOptions options);
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scrollTo(unrestricted double x, unrestricted double y);
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scrollBy(optional ScrollToOptions options);
|
||||
[Func="::script_can_initiate_scroll"]
|
||||
void scrollBy(unrestricted double x, unrestricted double y);
|
||||
|
||||
// client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue