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

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

--- Comment #2 from Hayato Ito <hayato@chromium.org> ---
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 the QA Contact for the bug.

Received on Thursday, 15 January 2015 06:09:43 UTC