Click here to download the Blitz Browser!

WPT

wpt / html / semantics / the-button-element / command-and-commandfor / on-scroll-behavior.tentative.html

Spec: HTML ↗

Runs: Chrome 155.0.8042.0 (wpt@a1ecd0c09, 2026-09-04) | Firefox 157.0a1 (wpt@e23cee339, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@0588f3896, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total19/3519/3519/3519/3519/35NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
page-up command scrolls upFAILFAILFAILFAILFAIL
page-down command scrolls downFAILFAILFAILFAILFAIL
page-left command scrolls leftFAILFAILFAILFAILFAIL
page-right command scrolls rightFAILFAILFAILFAILFAIL
page-up command doesn't affect horizontal scrollPASSPASSPASSPASSPASS
page-left command doesn't affect vertical scrollPASSPASSPASSPASSPASS
page-right works on horizontal-only containerFAILFAILFAILFAILFAIL
page-down works on vertical-only containerFAILFAILFAILFAILFAIL
page-block-end scrolls down in horizontal writing modeFAILFAILFAILFAILFAIL
page-block-start scrolls up in horizontal writing modeFAILFAILFAILFAILFAIL
page-inline-end scrolls right in LTRFAILFAILFAILFAILFAIL
page-inline-start scrolls left in LTRFAILFAILFAILFAILFAIL
page-inline-end works in RTL containerFAILFAILFAILFAILFAIL
scroll command is case-insensitive: page-upFAILFAILFAILFAILFAIL
scroll command is case-insensitive: PAGE-UPFAILFAILFAILFAILFAIL
scroll command is case-insensitive: PaGe-UpFAILFAILFAILFAILFAIL
preventDefault stops scroll commandPASSPASSPASSPASSPASS
scroll command requires valid commandfor targetPASSPASSPASSPASSPASS
scroll command on non-scrollable element does nothingPASSPASSPASSPASSPASS
scroll amount is approximately one pageFAILFAILFAILFAILFAIL
scroll command with non-existent commandfor target doesn't throwPASSPASSPASSPASSPASS
scroll command with empty commandfor doesn't throwPASSPASSPASSPASSPASS
scroll command with whitespace commandfor doesn't throwPASSPASSPASSPASSPASS
scroll command with disconnected target element doesn't throwPASSPASSPASSPASSPASS
scroll command targeting self doesn't throwPASSPASSPASSPASSPASS
scroll command on display:none element does nothingPASSPASSPASSPASSPASS
scroll command handles elements with unusual document statePASSPASSPASSPASSPASS
disabled button doesn't trigger scroll commandPASSPASSPASSPASSPASS
multiple buttons can target same scroll containerFAILFAILFAILFAILFAIL
scroll command at top boundary doesn't throwPASSPASSPASSPASSPASS
scroll command at bottom boundary doesn't throwPASSPASSPASSPASSPASS
invalid scroll command value doesn't trigger scrollPASSPASSPASSPASSPASS
empty command attribute doesn't trigger scrollPASSPASSPASSPASSPASS
scroll command on overflow:visible element does nothingPASSPASSPASSPASSPASS
scroll command on overflow:clip element does nothingPASSPASSPASSPASSPASS