Skip to content

Commit f3856df

Browse files
committed
Rename 'scroll' dictionary member to 'scrollMode'
As per #1805 (comment) point 2.
1 parent 4f8f95e commit f3856df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cssom-view-1/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,12 +1081,12 @@ Note: This {{DOMRect}} object is not <a spec=html>live</a>.
10811081
enum ScrollIntoViewMode { "always", "if-hidden" };
10821082
enum ScrollLogicalPosition { "start", "center", "end", "nearest" };
10831083
dictionary ScrollIntoViewOptions : ScrollOptions {
1084-
ScrollIntoViewMode scroll = "always";
1084+
ScrollIntoViewMode scrollMode = "always";
10851085
ScrollLogicalPosition block = "start";
10861086
ScrollLogicalPosition inline = "nearest";
10871087
};
10881088
dictionary FocusScrollOptions : ScrollOptions {
1089-
ScrollIntoViewMode scroll = "if-hidden";
1089+
ScrollIntoViewMode scrollMode = "if-hidden";
10901090
ScrollLogicalPosition block;
10911091
ScrollLogicalPosition inline;
10921092
};
@@ -1164,7 +1164,7 @@ The <dfn method for=Element caniuse=scrollintoview>scrollIntoView(<var>arg</var>
11641164
1. Set <var>behavior</var> to the {{ScrollOptions/behavior}} dictionary member of <var>options</var>.
11651165
1. Set <var>block</var> to the {{ScrollIntoViewOptions/block}} dictionary member of <var>options</var>.
11661166
1. Set <var>inline</var> to the {{ScrollIntoViewOptions/inline}} dictionary member of <var>options</var>.
1167-
1. Set <var>scrollMode</var> to the {{ScrollIntoViewOptions/scroll}} dictionary member of <var>options</var>.
1167+
1. Set <var>scrollMode</var> to the {{ScrollIntoViewOptions/scrollMode}} dictionary member of <var>options</var>.
11681168
1. Otherwise, if <var>arg</var> is false, then set <var>block</var> to "<code>end</code>".
11691169
1. If the element does not have any associated <a>layout box</a>, then return.
11701170
1. <a lt='scroll an element into view'>Scroll the element into view</a>

0 commit comments

Comments
 (0)