Skip to content
Skip the list of specifications

css/css-values/urls/

url-request-modifiers-invalid.sub.html

Fails: 32 of 34 assertions match, 2 do not

A parsing check: each value the parser must accept or reject.

Run it in the playgroundThe fileOn GitHubBrowsers’ results on wpt.fyi

Each assertion

A passing assertion got what it asked for, so only a failing one shows what it expected and what it got.

AssertionExpectedGotVerdict
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" crossorigin(anonymous))" should not set the property valuerejectedacceptedFails
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrerpolicy(no-referrer))" should not set the property valuerejectedacceptedFails
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin())" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(,))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous,))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(,anonymous))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous foobar))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous) cross-origin(anonymous))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous) cross-origin(use-credentials))" should not set the property valuePasses
e.style['background-image'] = "url(cross-origin(anonymous) \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property valuePasses
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous)" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity())" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(,))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\",))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(,\"sha384-foobar\"))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\" foobar))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(sha384-foobar))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\") integrity(\"sha384-foobar\"))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\") integrity(\"sha384-barbaz\"))" should not set the property valuePasses
e.style['background-image'] = "url(integrity(\"sha384-foobar\") \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property valuePasses
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\")" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy())" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(,))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer,))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(,no-referrer))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer foobar))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer same-origin))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer) referrer-policy(no-referrer))" should not set the property valuePasses
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer) referrer-policy(same-origin))" should not set the property valuePasses
e.style['background-image'] = "url(referrer-policy(no-referrer) \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property valuePasses
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer)" should not set the property valuePasses
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png cross-origin(anonymous))" should not set the property valuePasses
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png integrity(\"sha384-foobar\"))" should not set the property valuePasses
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png referrer-policy(no-referrer))" should not set the property valuePasses

Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.