[Bug 28493] New: [Shadow]: Have a common interface between Document and ShadowRoot

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28493

            Bug ID: 28493
           Summary: [Shadow]: Have a common interface between Document and
                    ShadowRoot
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: hayato@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

# This is separated from
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27829#c2


Instead of defining these in Shadow Root as well as in Document, I've started
to feel that it'd be better that we have the common interface between Document
and Shadow Root.


e.g.

interface NodeTreeRoot {
  Element? elementFromPoint(double x, double y);
  sequence<Element> elementsFromPoint(double x, double y);
  CaretPosition? caretPositionFromPoint(double x, double y);
  Selection? getSelection ();
  readonly    attribute Element?       activeElement;
  readonly    attribute StyleSheetList styleSheets;
};

Document implements NodeTreeRoot;
ShadowRoot implements NodeTreeRoot;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 15 April 2015 06:37:13 UTC