This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19912 - [Explainer]: Appendices A and B. interfaces out of sync
Summary: [Explainer]: Appendices A and B. interfaces out of sync
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dominic Cooney
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14949
  Show dependency treegraph
 
Reported: 2012-11-08 17:48 UTC by miket
Modified: 2013-05-30 08:25 UTC (History)
1 user (show)

See Also:


Attachments

Description miket 2012-11-08 17:48:31 UTC
The interfaces in the explainer don't match what's in the Shadow DOM spec (possibly for those defined in the templates spec too--I haven't gotten through that one yet).

I suspect they just fell out of sync.

Some examples:

- no mention of PseudoElementStylable interface and pseudo attribute

- "ShadowRoot implements NodeSelector;" no mention of this in Shadow DOM spec.

- HTMLContentElement interface missing resetStyleInheritance, getDistributedNodes()

- HTMLShadowElement interface missing resetStyleInheritance

- ShadowRoot interface: 
  - Element vs. HTMLElement type for getElementById
  - "in DOMString" vs. "DOMString"
  - nullable DOMString? vs. "DOMString"
  - missing getSelection
  - missing addStyleSheet, removeStyleSheet
  - no selection attribute in Shadow DOM spec
  - missing StyleSheetList


In Appendix B, the <content> element is missing the reset-style-inheritance attribute.
Comment 1 miket 2012-11-08 20:23:41 UTC
Just had a read of the HTML Templates spec.

Templates spec:
interface HTMLTemplateElement : HTMLElement { 
  attribute DocumentFragment content;
}

Explainer:
interface HTMLTemplateElement : HTMLElement {
    readonly attribute DocumentFragment content;
}

And in Appendix B of the explainer, the content attribute is missing
Comment 2 Dominic Cooney 2013-05-30 08:25:23 UTC
Instead of duplicating the definitions I have reduced the appendix to linking directly to the normative definitions.

Do you think attributes and operations are also interesting to include in the index? Or are elements and interfaces sufficient?

<https://dvcs.w3.org/hg/webcomponents/rev/9f893b16938a>