mirror of
https://github.com/servo/servo.git
synced 2025-09-01 02:28:21 +01:00
Update web-platform-tests to revision 9ca57e052ba1b19fa3dd46c6aa656e8d529469a8
This commit is contained in:
parent
68cb8f3d59
commit
75d6484415
1377 changed files with 31062 additions and 16983 deletions
|
@ -1,6 +1,6 @@
|
|||
// GENERATED CONTENT - DO NOT EDIT
|
||||
// Content was automatically extracted by Reffy into reffy-reports
|
||||
// (https://github.com/tidoust/reffy-reports)
|
||||
// Content was automatically extracted by Reffy into webref
|
||||
// (https://github.com/w3c/webref)
|
||||
// Source: CSSOM View Module (https://drafts.csswg.org/cssom-view/)
|
||||
|
||||
enum ScrollBehavior { "auto", "smooth" };
|
||||
|
@ -18,10 +18,10 @@ partial interface Window {
|
|||
[SameObject, Replaceable] readonly attribute Screen screen;
|
||||
|
||||
// browsing context
|
||||
void moveTo(long x, long y);
|
||||
void moveBy(long x, long y);
|
||||
void resizeTo(long width, long height);
|
||||
void resizeBy(long x, long y);
|
||||
undefined moveTo(long x, long y);
|
||||
undefined moveBy(long x, long y);
|
||||
undefined resizeTo(long width, long height);
|
||||
undefined resizeBy(long x, long y);
|
||||
|
||||
// viewport
|
||||
[Replaceable] readonly attribute long innerWidth;
|
||||
|
@ -32,12 +32,12 @@ partial interface Window {
|
|||
[Replaceable] readonly attribute double pageXOffset;
|
||||
[Replaceable] readonly attribute double scrollY;
|
||||
[Replaceable] readonly attribute double pageYOffset;
|
||||
void scroll(optional ScrollToOptions options = {});
|
||||
void scroll(unrestricted double x, unrestricted double y);
|
||||
void scrollTo(optional ScrollToOptions options = {});
|
||||
void scrollTo(unrestricted double x, unrestricted double y);
|
||||
void scrollBy(optional ScrollToOptions options = {});
|
||||
void scrollBy(unrestricted double x, unrestricted double y);
|
||||
undefined scroll(optional ScrollToOptions options = {});
|
||||
undefined scroll(unrestricted double x, unrestricted double y);
|
||||
undefined scrollTo(optional ScrollToOptions options = {});
|
||||
undefined scrollTo(unrestricted double x, unrestricted double y);
|
||||
undefined scrollBy(optional ScrollToOptions options = {});
|
||||
undefined scrollBy(unrestricted double x, unrestricted double y);
|
||||
|
||||
// client
|
||||
[Replaceable] readonly attribute long screenX;
|
||||
|
@ -53,8 +53,8 @@ partial interface Window {
|
|||
interface MediaQueryList : EventTarget {
|
||||
readonly attribute CSSOMString media;
|
||||
readonly attribute boolean matches;
|
||||
void addListener(EventListener? callback);
|
||||
void removeListener(EventListener? callback);
|
||||
undefined addListener(EventListener? callback);
|
||||
undefined removeListener(EventListener? callback);
|
||||
attribute EventHandler onchange;
|
||||
};
|
||||
|
||||
|
@ -103,13 +103,13 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|||
partial interface Element {
|
||||
DOMRectList getClientRects();
|
||||
[NewObject] DOMRect getBoundingClientRect();
|
||||
void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
|
||||
void scroll(optional ScrollToOptions options = {});
|
||||
void scroll(unrestricted double x, unrestricted double y);
|
||||
void scrollTo(optional ScrollToOptions options = {});
|
||||
void scrollTo(unrestricted double x, unrestricted double y);
|
||||
void scrollBy(optional ScrollToOptions options = {});
|
||||
void scrollBy(unrestricted double x, unrestricted double y);
|
||||
undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
|
||||
undefined scroll(optional ScrollToOptions options = {});
|
||||
undefined scroll(unrestricted double x, unrestricted double y);
|
||||
undefined scrollTo(optional ScrollToOptions options = {});
|
||||
undefined scrollTo(unrestricted double x, unrestricted double y);
|
||||
undefined scrollBy(optional ScrollToOptions options = {});
|
||||
undefined scrollBy(unrestricted double x, unrestricted double y);
|
||||
attribute unrestricted double scrollTop;
|
||||
attribute unrestricted double scrollLeft;
|
||||
readonly attribute long scrollWidth;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue