New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-typed-om]: CSSCalcLength is not defined #240
Comments
As in, nothing says what the getters/setters of any of the properties on it should do. |
CSSCalcValue is somewhat better defined now (by @tabatkins ) |
Would be useful if you have a commit so it can be reviewed. |
Tab made a sweeping set of changes to the way we handle values. As part of that, he defined calc objects better. So there's not a commit to reference, as such - reviewing the current version of the specification is likely to be far simpler for you than dredging through a commit range. |
Yeah, the class is small and you can just look at it. https://drafts.css-houdini.org/css-typed-om/#complex-numeric They're just maplikes now, with a |
It still doesn't seem to make much sense. E.g. "strong type" is defined as something of CSSCalcValue, but it's repeatedly asked of a string as well... |
No, CSSCalcValues have strong types; strings are strong types (some of them, at least). That said, you did catch an error - when I say "If unit is a strong type", I mean "If unit's CSS type is a strong type". I'll fix. |
@bzbarsky
The text was updated successfully, but these errors were encountered: