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

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