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

My understanding is that two conditions need to be described, as follow:

→ If element edge A and element edge B are both inside scrolling box edge A and scrolling box edge B
→ If element edge A is outside scrolling box edge A and element edge B is outside scrolling box edge B
          Do nothing.

→ If element edge C and element edge D are both inside scrolling box edge C and scrolling box edge D
→ If element edge C is outside scrolling box edge C and element edge D is outside scrolling box edge D
          Do nothing. 

-- 
GitHub Notification of comment by zbianca
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4918#issuecomment-609023377 using your GitHub account

Received on Saturday, 4 April 2020 12:45:48 UTC