Click here to download the Blitz Browser!

WPT

wpt / css / css-position / sticky / position-sticky-margins.html

Spec: CSS Positioned Layout ↗

Runs: Chrome 155.0.8039.0 (wpt@47d833bbc, 2026-09-03) | Firefox 157.0a1 (wpt@47d833bbc, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-3d220 (wpt@476394464, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

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

ChromeFirefoxSafariLadybirdServoBlitz
Total3/33/33/31/33/31/3
SubtestChromeFirefoxSafariLadybirdServoBlitz
Before sticking, the margin should be obeyed.PASSPASSPASSPASSPASSPASS
Whilst stuck, the margin is irrelevant.PASSPASSPASSFAILPASSFAIL
The margin is taken into account when making sure the sticky element does not escape its containerPASSPASSPASSFAILPASSFAIL