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
Every row shows what the file expected and what the engine returned, whether they match or not.
| Assertion | Expected | Got | Verdict |
|---|---|---|---|
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" crossorigin(anonymous))" should not set the property value | rejected | accepted | Fails |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrerpolicy(no-referrer))" should not set the property value | rejected | accepted | Fails |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin())" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(,))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous,))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(,anonymous))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous foobar))" should not set the property value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
e.style['background-image'] = "url(cross-origin(anonymous) \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" cross-origin(anonymous)" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity())" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(,))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\",))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(,\"sha384-foobar\"))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\" foobar))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(sha384-foobar))" should not set the property value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
e.style['background-image'] = "url(integrity(\"sha384-foobar\") \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" integrity(\"sha384-foobar\")" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy())" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(,))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer,))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(,no-referrer))" should not set the property value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
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 value | rejected | rejected | Passes |
e.style['background-image'] = "url(referrer-policy(no-referrer) \"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\")" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "\"http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png\" referrer-policy(no-referrer)" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png cross-origin(anonymous))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png integrity(\"sha384-foobar\"))" should not set the property value | rejected | rejected | Passes |
e.style['background-image'] = "url(http://{{hosts[][]}}:{{ports[http][0]}}/css/support/1x1-green.png referrer-policy(no-referrer))" should not set the property value | rejected | rejected | Passes |
Results of the run of 8 November 2026, engine build 1d7a91105. The data behind every page is open.