Skip to content

Commit

Permalink
[cssom-view] Fix bikeshed compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
frivoal committed Nov 26, 2024
1 parent 634ecfb commit ef5b91b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cssom-view-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1506,6 +1506,7 @@ run the following steps:
<dd>Align <var>element edge D</var> with <var>scrolling box edge D</var>.
</dl>
1. Return <var>position</var>.

</div>

<div algorithm>
Expand All @@ -1532,6 +1533,7 @@ a <a>scrolling box</a> <var>scrolling box</var>, in order of innermost to outerm
1. <a for="viewport">Perform a scroll</a> of the <a>viewport</a> to <var>position</var>, with <var>root element</var> as the associated element and <var>behavior</var>
as the scroll behavior.
</dl>

</div>

<div algorithm>
Expand All @@ -1556,6 +1558,7 @@ To <dfn>scroll an element</dfn> (or [=pseudo-element=]) <var>element</var> to <v
1. Let <var>position</var> be the scroll position <var>box</var> would have by aligning <a>scrolling area</a> x-coordinate <var>x</var> with the left of <var>box</var> and aligning <a>scrolling area</a> y-coordinate <var>y</var> with the top of <var>box</var>.
1. If <var>position</var> is the same as <var>box</var>'s current scroll position, and <var>box</var> does not have an ongoing <a>smooth scroll</a>, abort these steps.
1. <a for="/">Perform a scroll</a> of <var>box</var> to <var>position</var>, <var>element</var> as the associated element and <var>behavior</var> as the scroll behavior.

</div>


Expand Down

0 comments on commit ef5b91b

Please sign in to comment.