- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Jun 2018 14:12:17 +0000
- To: public-houdini-archive@w3.org
andruud has just created a new issue for https://github.com/w3c/css-houdini-drafts:
== [css-properties-values-api] Multiple base URLs ==
Let's say you define two different `<url>`-registered custom properties in two different stylesheets:
```
--bg1: url(batman.jpg); /* /hero/style.css */
--bg2: url(joker.jpg); /* /villain/style.css */
```
And then use those in a third file, `/index.html`:
```
<style>
div { background-image: var(--bg1), var(--bg2); }
</style>
```
According to #393, I would expect `batman.jpg` to (URL-)resolve against `/hero`, and `joker.jpg` to resolve against `/villain`. Is that correct? If so, it would be good to get an example like this into the spec.
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/767 using your GitHub account
Received on Thursday, 14 June 2018 14:12:21 UTC