- From: Simon Sapin via GitHub <sysbot+gh@w3.org>
- Date: Mon, 03 Apr 2017 14:36:50 +0000
- To: public-css-archive@w3.org
SimonSapin has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-variables] Applicable namespace rules for variable expansion ==
This is pretty much the same issue as https://github.com/w3c/csswg-drafts/issues/757, so we may want a similar behavior.
```css
/* a.css */
@namespace foo "http://www.w3.org/1999/xhtml";
:root { --a: foo }
```
```css
/* b.css */
@namespace foo "http://www.w3.org/1999/xlink";
:root { --b: attr(var(--a)|href) }
```
```css
/* c.css */
@namespace foo "";
a:before { content: var(--b) }
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1163 using your GitHub account
Received on Monday, 3 April 2017 14:36:57 UTC