W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

[Bug 27829] New: [Shadow]: Update ShadowRoot to have elementsFromPoint and caretPositionFromPoint

From: <bugzilla@jessica.w3.org>
Date: Wed, 14 Jan 2015 05:22:35 +0000
To: public-webapps@w3.org
Message-ID: <bug-27829-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27829

            Bug ID: 27829
           Summary: [Shadow]: Update ShadowRoot to have elementsFromPoint
                    and caretPositionFromPoint
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Component Model
          Assignee: dglazkov@chromium.org
          Reporter: pdr@google.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org
            Blocks: 14978

cssom-view now has the following extensions to Document[1]:
partial interface Document {
  Element? elementFromPoint(double x, double y);
  sequence<Element> elementsFromPoint(double x, double y);
  CaretPosition? caretPositionFromPoint(double x, double y);
};

Only elementFromPoint is currently defined on ShadowRoot. The best way forward
would be to define this in cssom but, until then, can we add the following
methods to ShadowRoot?
  sequence<Element> elementsFromPoint(double x, double y);
  CaretPosition? caretPositionFromPoint(double x, double y);

They could be defined in roughly the same way as elementFromPoint.

[1] http://dev.w3.org/csswg/cssom-view/#dom-document-elementfrompoint

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 14 January 2015 05:22:37 UTC

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