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

@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