-
Notifications
You must be signed in to change notification settings - Fork 141
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
[all] Move Houdini APIs to window.CSS
#350
Comments
#330 has some prior discussion (though specific to css-paint-api), including references to WebIDL work |
For typed OM, this would just be Window.getComputedStyleMap. Should that become CSS.getComputedStyleMap, or CSS.getComputedStyle? |
I've changed all the css-paint-api to CSS interface. |
With regards to @shans suggestion I vote for CSS.getComputedStyleMap to make it clear to developers if they misuse it |
The CSS Working Group just discussed #350, and agreed to the following resolutions:
The full IRC log of that discussion
|
* Move getComputedStyleMap to CSS namespace * Rename to attributeStyleMap/computedStyleMap * Rename CSSStyleRule.styleMap as well
As per #454 - removing css-typed-om label. Since the work pertaining to that spec seems to be done here. |
@tabatkins can we close this issue now? Is there any more work left to be done? |
Per Seattle resolution (and TAG feedback), all the Houdini APIs should namespace themselves under the
CSS
object, rather than living on the global.(Constructors still get put on the global by default, and that should be fine. We should add convenient aliases to
CSS
as appropriate, likeCSS.px(x)
forCSSSimpleLength(x, 'px')
.)The text was updated successfully, but these errors were encountered: