JS: added two missing functions to interop interfaces (#645)

This commit is contained in:
Ivan Hetman 2022-12-07 10:45:55 +02:00 committed by GitHub
parent 87d63168d2
commit f77cb9d52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,8 @@ public interface HTMLDocument extends Document, EventTarget {
@JSProperty @JSProperty
HTMLElement getActiveElement(); HTMLElement getActiveElement();
HTMLElement elementFromPoint(int x, int y);
@JSProperty @JSProperty
boolean isDesignMode(); boolean isDesignMode();

View File

@ -131,6 +131,9 @@ public interface HTMLElement extends Element, ElementCSSInlineStyle, EventTarget
@Override @Override
HTMLDocument getOwnerDocument(); HTMLDocument getOwnerDocument();
@JSProperty
HTMLCollection getChildren();
@JSProperty @JSProperty
String getInnerHTML(); String getInnerHTML();