[css-houdini-drafts] [css-typed-om] CSSURLImageValue

annevk has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] CSSURLImageValue ==
I'm pretty sure that some user agents parse URL values eagerly.
```
<!DOCTYPE html>
...<style>
body {
  background:red;
  background:url(https://test:test);
}
</style>
<script>
alert(getComputedStyle(document.body).backgroundImage);
</script>
```
Yields none in Firefox, `url(https://test:test)` in Safari, and `url("https://test:test/")` (!) in Chrome.

It seems rather crappy if `new CSSURLImageValue("https://test:test")` did not throw.

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/703 using your GitHub account

Received on Wednesday, 21 February 2018 15:42:41 UTC