-
Notifications
You must be signed in to change notification settings - Fork 715
[cssom][css-transforms] Conflicting on resolved value of various properties #392
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
Comments
This also applies to |
We should probably just update the CSSOM spec to say that its list is limited to CSS2 properties, and all other properties are as specified by their respective modules (defaulting to computed value). |
It probably needs to be a slightly larger set than CSS2, representing "modules predating CSSOM". (Much like transforms does for the Animation type...) |
Reopening because I don't think this was correctly handled. In particular, the CSSOM specifies, for properties that have resolved value as used value, certain rules for e.g. handling I think “resolved value special case property” is overly-general. It seems to me that the properties that do not resolve to the computed value follow one of the existing patterns in the CSSOM, and therefore we should have these properties specifically reference those rules, not make up their own rules, which are intended to be the same as what's in CSSOM but aren't. |
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4880 shows transform-origin and perspective-origin should be like 'height' |
…ctive-origin' resolved value like 'height' Fixes #392.
Are there any “resolved value special case properties” aside from top/left/bottom/right that do not resolve like 'height'? |
Yes. The 'grid-template-rows' and 'grid-template-columns' properties. |
…ctive-origin' resolved value like 'height' Also mention that 'grid-template-rows' and 'grid-template-columns' are resolved value special case properties (no normative change). Fixes #392.
CSSOM has a list of properties which should have their resolved value be their used value rather than computed value. That list doesn't include
perspective-origin
. However, CSS Transforms spec says the resolved value ofperspective-origin
should be used value.I guess one of them should be changed to match the other.
The text was updated successfully, but these errors were encountered: