Click here to download the Blitz Browser!

WPT

wpt / css / css-backgrounds / parsing / background-valid.html

Spec: CSS Backgrounds ↗

Runs: Chrome 155.0.8042.0 (wpt@0a3996025, 2026-09-04) | Firefox 157.0a1 (wpt@972e0e100, 2026-09-04) | Safari 251 preview (wpt@972e0e100, 2026-09-04) | Ladybird 1.0-3fd2d (wpt@c29bd2aee, 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
Total21/4627/4636/4626/4617/4617/46
SubtestChromeFirefoxSafariLadybirdServoBlitz
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set the property valuePASSPASSPASSFAILFAILFAIL
e.style['background'] = "none" should set background-attachmentFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-clipFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-colorFAILPASSFAILFAILPASSPASS
e.style['background'] = "none" should set background-imagePASSPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-originFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-positionFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-repeatFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should set background-sizeFAILPASSPASSPASSPASSPASS
e.style['background'] = "none" should not set unrelated longhandsPASSPASSPASSPASSPASSPASS
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-attachmentPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-clipPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-colorPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-imagePASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-originPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-positionPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-repeatPASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should set background-sizePASSPASSPASSPASSFAILFAIL
e.style['background'] = "url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box, rgb(5, 6, 7) url(\"https://example.com/\") 1px 2px / 3px 4px space round local padding-box content-box" should not set unrelated longhandsPASSPASSPASSPASSFAILFAIL
e.style['background'] = "border-box content-box" should set background-attachmentFAILPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-clipPASSPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-colorFAILFAILPASSPASSFAILFAIL
e.style['background'] = "border-box content-box" should set background-imageFAILPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-originPASSPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-positionFAILPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-repeatFAILPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should set background-sizeFAILPASSPASSPASSPASSPASS
e.style['background'] = "border-box content-box" should not set unrelated longhandsPASSPASSPASSPASSPASSPASS
e.style['background'] = "border-area" should set background-attachmentFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-clipPASSFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-colorFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-imageFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-originPASSFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-positionFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-repeatFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should set background-sizeFAILFAILPASSFAILFAILFAIL
e.style['background'] = "border-area" should not set unrelated longhandsPASSFAILPASSFAILFAILFAIL
e.style['background'] = "border-area text" should set background-attachmentFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-clipPASSFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-colorFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-imageFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-originPASSFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-positionFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-repeatFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should set background-sizeFAILFAILFAILFAILFAILFAIL
e.style['background'] = "border-area text" should not set unrelated longhandsPASSFAILFAILFAILFAILFAIL