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

Re: [csswg-drafts] [css-variables] Add User Agent properties and constant()

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Sun, 17 Sep 2017 06:28:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-330024282-1505629728-sysbot+gh@w3.org>
> there's nothing stopping us from making their substitution happen at parse-time, giving us all the normal grammar interactions (knocking out a declaration at parse time so it falls back to a previous declaration, etc). It does mean a change in a variable effectively

There is. Couldn't global variables / constants change after page open? e.g. in case of iPhone X, what would happen if user rotates the phone or split the screen? If we substitute them during parsing, we would never be able to change it dynamically.

GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/1817#issuecomment-330024282 using your GitHub account
Received on Sunday, 17 September 2017 06:28:51 UTC

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