- From: François REMY via GitHub <sysbot+gh@w3.org>
- Date: Fri, 29 Sep 2017 04:05:32 +0000
- To: public-css-archive@w3.org
I think the reason the "invalid" behavior was implemented is that otherwise you can get funny results like: ``` body { --color1: red; --color2: yellow; } div { --color1: var(--color2); --color2: var(--color1); } span { color: var(--color1); background-color: var(--color2); } ``` where the order in which you decide to "give up" and use the inherited value has an impact on the final result; though another valid solution would be red text on yellow background I guess, out of curiosity what did Servo use to do in that case? -- GitHub Notification of comment by FremyCompany Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1837#issuecomment-333025915 using your GitHub account
Received on Friday, 29 September 2017 04:05:51 UTC