Click here to download the Blitz Browser!

WPT

wpt / html / canvas / offscreen / the-canvas-state / 2d.state.saverestore.lineWidth.html

Spec: https://html.spec.whatwg.org/multipage/canvas.html#the-offscreencanvas-interface ↗

Runs: Chrome 155.0.8041.0 (wpt@2c385f65e, 2026-09-04) | Firefox 157.0a1 (wpt@2c385f65e, 2026-09-04) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a7825 (wpt@2c385f65e, 2026-09-04) | 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
Total4/44/44/44/44/4NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
save()/restore() restores lineWidth, for a canvas of size (300, 150).PASSPASSPASSPASSPASS
save() does not modify lineWidth, for a canvas of size (300, 150).PASSPASSPASSPASSPASS
save()/restore() restores lineWidth, for a canvas of size (0, 0).PASSPASSPASSPASSPASS
save() does not modify lineWidth, for a canvas of size (0, 0).PASSPASSPASSPASSPASS