Skip to content

Commit 2fc6ec4

Browse files
authored
Merge pull request w3c#5443 from autokagami/cssom-view-1
2 parents 98c723c + 2504b6c commit 2fc6ec4

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

cssom-view-1/Overview.bs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@ partial interface Window {
431431
[SameObject, Replaceable] readonly attribute Screen screen;
432432

433433
// browsing context
434-
void moveTo(long x, long y);
435-
void moveBy(long x, long y);
436-
void resizeTo(long width, long height);
437-
void resizeBy(long x, long y);
434+
undefined moveTo(long x, long y);
435+
undefined moveBy(long x, long y);
436+
undefined resizeTo(long width, long height);
437+
undefined resizeBy(long x, long y);
438438

439439
// viewport
440440
[Replaceable] readonly attribute long innerWidth;
@@ -445,12 +445,12 @@ partial interface Window {
445445
[Replaceable] readonly attribute double pageXOffset;
446446
[Replaceable] readonly attribute double scrollY;
447447
[Replaceable] readonly attribute double pageYOffset;
448-
void scroll(optional ScrollToOptions options = {});
449-
void scroll(unrestricted double x, unrestricted double y);
450-
void scrollTo(optional ScrollToOptions options = {});
451-
void scrollTo(unrestricted double x, unrestricted double y);
452-
void scrollBy(optional ScrollToOptions options = {});
453-
void scrollBy(unrestricted double x, unrestricted double y);
448+
undefined scroll(optional ScrollToOptions options = {});
449+
undefined scroll(unrestricted double x, unrestricted double y);
450+
undefined scrollTo(optional ScrollToOptions options = {});
451+
undefined scrollTo(unrestricted double x, unrestricted double y);
452+
undefined scrollBy(optional ScrollToOptions options = {});
453+
undefined scrollBy(unrestricted double x, unrestricted double y);
454454

455455
// client
456456
[Replaceable] readonly attribute long screenX;
@@ -771,8 +771,8 @@ When asked to <dfn>evaluate media queries and report changes</dfn> for a {{Docum
771771
interface MediaQueryList : EventTarget {
772772
readonly attribute CSSOMString media;
773773
readonly attribute boolean matches;
774-
void addListener(EventListener? callback);
775-
void removeListener(EventListener? callback);
774+
undefined addListener(EventListener? callback);
775+
undefined removeListener(EventListener? callback);
776776
attribute EventHandler onchange;
777777
};
778778
</pre>
@@ -1074,13 +1074,13 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
10741074
partial interface Element {
10751075
DOMRectList getClientRects();
10761076
[NewObject] DOMRect getBoundingClientRect();
1077-
void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
1078-
void scroll(optional ScrollToOptions options = {});
1079-
void scroll(unrestricted double x, unrestricted double y);
1080-
void scrollTo(optional ScrollToOptions options = {});
1081-
void scrollTo(unrestricted double x, unrestricted double y);
1082-
void scrollBy(optional ScrollToOptions options = {});
1083-
void scrollBy(unrestricted double x, unrestricted double y);
1077+
undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
1078+
undefined scroll(optional ScrollToOptions options = {});
1079+
undefined scroll(unrestricted double x, unrestricted double y);
1080+
undefined scrollTo(optional ScrollToOptions options = {});
1081+
undefined scrollTo(unrestricted double x, unrestricted double y);
1082+
undefined scrollBy(optional ScrollToOptions options = {});
1083+
undefined scrollBy(unrestricted double x, unrestricted double y);
10841084
attribute unrestricted double scrollTop;
10851085
attribute unrestricted double scrollLeft;
10861086
readonly attribute long scrollWidth;

0 commit comments

Comments
 (0)