wiki:Component Model

Version 1 (modified by Dimitri Glazkov, 9 years ago) (diff)


Implementation Status

If this is older than 30 days, it's probably out of date.

Most of the plumbing is in place, no author-facing APIs exposed.

Differences and similarities with XBL2:

Area Status Differences
Events Matches logic in event handlers section We don't create a separate Event object for each re-targeting, because we don't worry about component isolation (yet)
Shadow Root We now create a root object at which the shadow DOM subtree begins Instead of it being a <template> element clone, we use a different node type (SHADOW_ROOT_NODE = 14)
pseudo attribute Same as XBL2 pseudo Allows arbitrary value and CSS machinery has been modified to allow any value
CSS matching Some of the selectors and shadow scopes implemented Need to further align with the XBL2 spec
Tree Scopes Implemented, matches the shadow scope notion of in XBL2
Style blocks/script blocks Not yet implemented
Inheritance Won't be implementing We decided that this feature is overly complex and unnecessary for the component model. See this post to public-webapps