Implement Document#elementsFromPoint

This commit is contained in:
Rizky Luthfianto 2016-04-03 21:44:01 +07:00
parent 88d29e537c
commit 07584b9f29
7 changed files with 88 additions and 0 deletions

View file

@ -184,6 +184,7 @@ partial interface Document {
// https://drafts.csswg.org/cssom-view/#dom-document-elementfrompoint
partial interface Document {
Element? elementFromPoint(double x, double y);
sequence<Element> elementsFromPoint(double x, double y);
};
// https://drafts.csswg.org/cssom/#extensions-to-the-document-interface