← back to v138 · scrollintoview-container-option
conformance · v138
v138 · scrollintoview-container-option — conformance probe
5 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
5
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
scrollintoview-method-exists |
Element.prototype.scrollIntoView exists. | typeof | … | |
scrollintoview-accepts-container-option |
scrollIntoView accepts a ScrollIntoViewOptions object with `container: 'nearest'` without throwing. spec ↗ | script | … | |
container-nearest-only-scrolls-nearest-ancestor |
With container:'nearest' only the nearest scroll-container ancestor scrolls — outer ancestors keep their scrollTop. spec ↗ | script | … | |
default-still-scrolls-all-ancestors |
Default behavior (omitting container) still scrolls ancestors as before — backward compatibility. spec ↗ | script | … | |
scrollintoview-options-object-shape |
ScrollIntoViewOptions accepts block/inline/behavior alongside container. spec ↗ | script | … |