Skip to content

Commit

Permalink
Bug 1576068 [wpt PR 18629] - Update interfaces/cssom-view.idl, a=test…
Browse files Browse the repository at this point in the history
…only

Automatic update from web-platform-tests
Update interfaces/cssom-view.idl (#18629)

Source: https://github.com/tidoust/reffy-reports/blob/39e9fa7/whatwg/idl/cssom-view.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/575681768
--

wpt-commits: 33c263fb308d1c3f6ac6d2590d7292317262819d
wpt-pr: 18629
  • Loading branch information
autofoolip authored and moz-wptsync-bot committed Aug 27, 2019
1 parent f6d6a2a commit 1f04d25
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions testing/web-platform/tests/interfaces/cssom-view.idl
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ 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(optional ScrollToOptions options = {});
void scroll(unrestricted double x, unrestricted double y);
void scrollTo(optional ScrollToOptions options);
void scrollTo(optional ScrollToOptions options = {});
void scrollTo(unrestricted double x, unrestricted double y);
void scrollBy(optional ScrollToOptions options);
void scrollBy(optional ScrollToOptions options = {});
void scrollBy(unrestricted double x, unrestricted double y);

// client
Expand All @@ -59,7 +59,7 @@ interface MediaQueryList : EventTarget {
};

[Exposed=Window,
Constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict)]
Constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {})]
interface MediaQueryListEvent : Event {
readonly attribute CSSOMString media;
readonly attribute boolean matches;
Expand Down Expand Up @@ -103,12 +103,12 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
partial interface Element {
DOMRectList getClientRects();
[NewObject] DOMRect getBoundingClientRect();
void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg);
void scroll(optional ScrollToOptions options);
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(optional ScrollToOptions options = {});
void scrollTo(unrestricted double x, unrestricted double y);
void scrollBy(optional ScrollToOptions options);
void scrollBy(optional ScrollToOptions options = {});
void scrollBy(unrestricted double x, unrestricted double y);
attribute unrestricted double scrollTop;
attribute unrestricted double scrollLeft;
Expand Down Expand Up @@ -170,10 +170,10 @@ dictionary ConvertCoordinateOptions {
};

interface mixin GeometryUtils {
sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options);
DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options);
DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options);
DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options); // XXX z,w turns into 0
sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options = {});
DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options = {});
DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options = {});
DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options = {}); // XXX z,w turns into 0
};

Text includes GeometryUtils; // like Range
Expand Down

0 comments on commit 1f04d25

Please sign in to comment.