The data displayed in the tables of this document was gathered by running
scrolling/overflow-hidden.html.
The test focused an element in a scrollable container to see if and how the
container was repositioned to show the focused element. The values left,
right, … refer to the section of the focused element being aligned.
| Chrome | Safari | Firefox | Internet Explorer | |||
|---|---|---|---|---|---|---|
| Element | Expected | 40.0 | 8.0.3 | 35.0 | 11.0 | Notes |
Vertical in overflow block |
||||||
| more than required space | bottom | center | center | bottom | bottom | top when tabbing backwards |
| required space | top | center | center | top | top | |
| less than required space | top | center | center | top | top | |
Horizontal in overflow block |
||||||
| more than required space | right | center, partial | center, partial | right, partial | right | Gecko, Blink and WebKit won't scroll the container horizontally if the focused element is partially visible |
| required space | left | center | center | left | left | |
| less than required space | left | center | center | left | left | |