Re: [csswg-drafts] css expression inheritance

I'm not sure I follow, but I really would like to do:
```
--foo: calc(parent-var(--foo) + 20px);
```
would work like oop programming languages that support inheritance:
```
this.foo ~ var(--foo)           ie the last available definition
super.foo ~ parent-var(--foo)   ie the inherited definition
```

-- 
GitHub Notification of comment by Netmosfera
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2749#issuecomment-396960669 using your GitHub account

Received on Wednesday, 13 June 2018 14:36:46 UTC