@@ -1081,12 +1081,12 @@ Note: This {{DOMRect}} object is not <a spec=html>live</a>.
1081
1081
enum ScrollIntoViewMode { "always", "if-hidden" };
1082
1082
enum ScrollLogicalPosition { "start", "center", "end", "nearest" };
1083
1083
dictionary ScrollIntoViewOptions : ScrollOptions {
1084
- ScrollIntoViewMode scroll = "always";
1084
+ ScrollIntoViewMode scrollMode = "always";
1085
1085
ScrollLogicalPosition block = "start";
1086
1086
ScrollLogicalPosition inline = "nearest";
1087
1087
};
1088
1088
dictionary FocusScrollOptions : ScrollOptions {
1089
- ScrollIntoViewMode scroll = "if-hidden";
1089
+ ScrollIntoViewMode scrollMode = "if-hidden";
1090
1090
ScrollLogicalPosition block;
1091
1091
ScrollLogicalPosition inline;
1092
1092
};
@@ -1164,7 +1164,7 @@ The <dfn method for=Element caniuse=scrollintoview>scrollIntoView(<var>arg</var>
1164
1164
1. Set <var> behavior</var> to the {{ScrollOptions/behavior}} dictionary member of <var> options</var> .
1165
1165
1. Set <var> block</var> to the {{ScrollIntoViewOptions/block}} dictionary member of <var> options</var> .
1166
1166
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> .
1168
1168
1. Otherwise, if <var> arg</var> is false, then set <var> block</var> to "<code> end</code> ".
1169
1169
1. If the element does not have any associated <a>layout box</a> , then return.
1170
1170
1. <a lt='scroll an element into view'>Scroll the element into view</a>
0 commit comments