File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -492,21 +492,24 @@ The procedure to <dfn>resolve a container-based offset</dfn> given
492492 first matching condition from the following:
493493 <div class="switch">
494494
495- : <var> offset</var> is <code> auto</code>
495+ : If <var> offset</var> is <code> auto</code> :
496496 :: Either the beginning or the ending of {{source}} 's scroll range in
497497 {{orientation}} depending on whether the offset is {{start}} or {{end}} .
498498
499- : <var> offset</var> is a {{CSSNumberish}} and matches <<number>>
499+ : If <var> offset</var> is a {{CSSNumberish}} and matches <<number>> :
500500 :: The distance indicated by the value in <a value>pixel unit</a> along
501501 {{source}} 's scroll range in {{orientation}} .
502502
503503
504- : <var> offset</var> is a {{CSSNumberish}} and matches
504+ : If <var> offset</var> is a {{CSSNumberish}} and matches:
505505 <<length-percentage>>
506506 :: The distance indicated by the value along {{source}} 's scroll range in
507507 {{orientation}} as expressed by absolute length, a percentage, or a
508508 ''calc()'' expression that resolves to a <<length>> .
509509
510+ : Otherwise,
511+ :: null.
512+
510513 </div>
511514
512515Note: The scroll range of an element is the range defined by its minimum and
You can’t perform that action at this time.
0 commit comments