W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

Re: [csswg-drafts] [css-variables] Unable to do feature matching at parse time when using var()

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Sat, 13 May 2017 06:10:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-301228250-1494655826-sysbot+gh@w3.org>
> For future levels of CSS Custom Properties, there are proposals for declaring the data type of the property. For example, in your case the data time would be a single image. That would allow the parser to check the --x1 and --x2 values to confirm that they are valid images, and it would also allow it to check the two background-image declarations, to confirm they would make sense if the var() calls were each replaced by an image.

Sadly this part has been removed from the proposal because Blink engineers thought it would be too complex to implement for them. Using support will thus remain the only option, except if the group changes its mind.

GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1348#issuecomment-301228250 using your GitHub account
Received on Saturday, 13 May 2017 06:10:33 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC