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

Re: [csswg-drafts] [css-values] Cyclic definitions with relative units

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Dec 2017 23:48:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-352594467-1513640917-sysbot+gh@w3.org>
@Loirooriol I think the problem of cycles in CSS Variables that compute to a `<length>` should be filed on https://drafts.css-houdini.org/css-properties-values-api/ rather than here, as that's the spec that introduces the problem. font relative units are fine on their own (if we include the `lh` fix discussed above), and custom properties don't break it when they're not typed, as they're just tokens that get expanded in place. It's the calculation of computed values introduced in that spec that introduces the loop. It looks like there's already an issue file on that spec to deal with that question: https://github.com/w3c/css-houdini-drafts/issues/315

So I think we should limit the discussion in this issue to resolving the `lh` cycle, and I think what I proposed above works fine.

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2115#issuecomment-352594467 using your GitHub account
Received on Monday, 18 December 2017 23:48:43 UTC

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