[csswg-drafts] [css-variables] Relative URL resolution in var() references

LeaVerou has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-variables] Relative URL resolution in var() references ==
Related discussions:
https://twitter.com/LeaVerou/status/801661659949371392
https://bugs.chromium.org/p/chromium/issues/detail?id=618165

Summary: Relative URL resolution in var() is underspecified and 
currently buggy in all browsers.
The main issue is, as @tabatkins pointed out in the second linked 
thread above is this:

```css
a.css
--a: "a.png";

b.css
--b: url(var(--a));

c.css
background-image: var(--b); /* resolved according to a, b, or c? */
```

Since CSS Variables are uninterpreted token streams, it should be c 
(which is what @dbaron and I think), but some members (such as 
@FremyCompany in the first thread) argue that this may not be useful 
to authors.

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

Received on Thursday, 24 November 2016 07:17:17 UTC