Compute scrollIntoView positions from the current scroll position and only add the delta required to align an edge. The previous calculation mixed viewport coordinates with scroller content coordinates, so the nearest case could move a focused element that was already visible. Add a CSSOM View text regression test that clicks a focused control in a scroller already positioned at the bottom. |
||
|---|---|---|
| .. | ||
| click-focused-element-in-scroller-should-not-scroll.txt | ||
| getClientRects-in-detached-document.txt | ||
| mouse-event-offset-values.txt | ||
| mouse-event-offset-with-nested-css-transforms.txt | ||
| mouse-event-transformed-pseudoelement-crash.txt | ||
| mouse-event-x-y-values.txt | ||