[csswg-drafts] [cssom-view] ScrollIntoViewOptions "nearest" description (#4918)

zbianca has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-view] ScrollIntoViewOptions "nearest" description ==
https://drafts.csswg.org/cssom-view/#element-scrolling-members

> 4. Otherwise, block is "nearest":​
> 
> → If element edge A and element edge B are both outside scrolling box edge A and scrolling box edge B
>           Do nothing\. 

By this description nothing is done _only_ when the element is bigger than the viewport.
However, another situation when nothing is done is when both edges are **inside** the box edges.
The same is valid for when `inline is "nearest"` on item 9.8.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4918 using your GitHub account

Received on Saturday, 4 April 2020 12:27:00 UTC