diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLDocument.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLDocument.java index 6505a1866..1e09572ab 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLDocument.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLDocument.java @@ -64,6 +64,8 @@ public interface HTMLDocument extends Document, EventTarget { @JSProperty HTMLElement getActiveElement(); + HTMLElement elementFromPoint(int x, int y); + @JSProperty boolean isDesignMode(); diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java index e49359196..3e627f76c 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLElement.java @@ -131,6 +131,9 @@ public interface HTMLElement extends Element, ElementCSSInlineStyle, EventTarget @Override HTMLDocument getOwnerDocument(); + @JSProperty + HTMLCollection getChildren(); + @JSProperty String getInnerHTML();