W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 15 Apr 2015 06:37:12 +0000
To: public-webapps@w3.org
Message-ID: <bug-28493-2927@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC