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: dglaz...@chromium.org
          Reporter: hay...@chromium.org
        QA Contact: public-webapps-bugzi...@w3.org
                CC: m...@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.

Reply via email to