Bug 76694 - ShadowRoot should have its own API implementation rather than DocumentFragment
Summary: ShadowRoot should have its own API implementation rather than DocumentFragment
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 77323
Blocks: 63601
  Show dependency treegraph
 
Reported: 2012-01-20 03:23 PST by Hajime Morrita
Modified: 2012-02-14 02:17 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hajime Morrita 2012-01-20 03:23:25 PST
These APIs are declared in ShadowRoot IDL
    HTMLElement getElementById(in DOMString elementId);
    NodeList getElementsByClassName(in DOMString tagName);
    NodeList getElementsByTagName(in DOMString className);
    NodeList getElementsByTagNameNS(DOMString namespace, DOMString localName);
    attribute bool applyAuthorStyles;
    readonly attribute Element host;
    attribute DOMString innerHTML;
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#shadow-root-object

We should have these. Maybe we can use this bug for tracking and do one-by-one for each.
Comment 1 Hajime Morrita 2012-02-14 02:17:12 PST
Closing. We have Bug  77514, Bug 78472 and Bug 78473 instead.