Skip to content

Commit c50e528

Browse files
authored
Fix 'scroll an element into view' invocations
Part of #464.
1 parent 54acf7e commit c50e528

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

source

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63607,20 +63607,20 @@ v6DVT (also check for '- -' bits in the part above) -->
6360763607

6360863608
<ol>
6360963609

63610-
<li><p>Let <var>the specified rectangle</var> be the rectangle of the bounding box of
63611-
the intended path.</p></li>
63610+
<li><p>Let <var>specifiedRectangle</var> be the rectangle of the bounding box of the intended
63611+
path.</p></li>
6361263612

63613-
<li><p>Let <var>notional child</var> be a hypothetical element that is a rendered child
63614-
of the <code>canvas</code> element whose dimensions are those of <var>the specified
63615-
rectangle</var>.</p></li>
63613+
<li><p>Let <var>notionalChild</var> be a hypothetical element that is a rendered child of the
63614+
<code>canvas</code> element whose dimensions are those of <var>specifiedRectangle</var>.</p></li>
6361663615

63617-
<li><p><span data-x="scroll an element into view">Scroll <var>notional child</var> into
63618-
view</span> with the <var>align to top flag</var> set.</p>
63616+
<li><p><span data-x="scroll an element into view">Scroll <var>notionalChild</var> into
63617+
view</span> with <var>behavior</var> set to "auto", <var>block</var> set to "start", and
63618+
<var>inline</var> set to "nearest".</p>
6361963619

6362063620
<li><p>Optionally, <a href="#inform">inform the user</a> that the caret or selection (or both)
63621-
cover <var>the specified rectangle</var> of the canvas. The user agent may wait until the next
63622-
time the <span>event loop</span> reaches its <span>update the rendering</span> step to
63623-
optionally inform the user.</p></li>
63621+
cover <var>specifiedRectangle</var> of the canvas. The user agent may wait until the next time
63622+
the <span>event loop</span> reaches its <span>update the rendering</span> step to optionally
63623+
inform the user.</p></li>
6362463624

6362563625
</ol>
6362663626

@@ -82911,14 +82911,15 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8291182911
<li><p>Set the <code>Document</code>'s <span>target element</span> to
8291282912
<var>target</var>.</p></li>
8291382913

82914-
<li><p>Use the <span>scroll an element into view</span> algorithm to scroll <var>target</var>
82915-
into view, with the <var>align to top flag</var> set. <ref spec=CSSOMVIEW></p></li>
82914+
<li><p><span data-x="scroll an element into view">Scroll <var>target</var> into view</span>,
82915+
with <var>behavior</var> set to "auto", <var>block</var> set to "start", and <var>inline</var>
82916+
set to "nearest". <ref spec=CSSOMVIEW></p></li>
8291682917

8291782918
<li><p>Run the <span>focusing steps</span> for <var>target</var>, with the
8291882919
<code>Document</code>'s <span>viewport</span> as the <i>fallback target</i>.</p></li>
8291982920

8292082921
<li><p>Move the <span>sequential focus navigation starting point</span> to
82921-
<var>target</var>.</p>
82922+
<var>target</var>.</p></li>
8292282923
</ol>
8292382924
</li>
8292482925
</ol>
@@ -82947,7 +82948,7 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8294782948
document</span> is the top of the document; return.</p></li>
8294882949

8294982950
<li><p>If <span>find a potential indicated element</span> with <var>fragment</var> returns
82950-
non-null, than the return value is <span>the indicated part of the document</span>;
82951+
non-null, then the return value is <span>the indicated part of the document</span>;
8295182952
return.</p></li>
8295282953

8295382954
<li><p>Let <var>fragmentBytes</var> be the result of <span data-x="string percent decode">string
@@ -82957,7 +82958,7 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8295782958
BOM</span> on <var>fragmentBytes</var>.</p></li>
8295882959

8295982960
<li><p>If <span>find a potential indicated element</span> with <var>decodedFragment</var> returns
82960-
non-null, than the return value is <span>the indicated part of the document</span>;
82961+
non-null, then the return value is <span>the indicated part of the document</span>;
8296182962
return.</p></li>
8296282963

8296382964
<li><p>If <var>decodedFragment</var> is an <span>ASCII case-insensitive</span> match for the

0 commit comments

Comments
 (0)