diff --git a/jso/apis/src/main/java/org/teavm/jso/browser/Window.java b/jso/apis/src/main/java/org/teavm/jso/browser/Window.java index 0f00d8f5a..2c2dad463 100644 --- a/jso/apis/src/main/java/org/teavm/jso/browser/Window.java +++ b/jso/apis/src/main/java/org/teavm/jso/browser/Window.java @@ -66,6 +66,9 @@ public abstract class Window implements JSObject, WindowEventTarget, StorageProv @JSProperty public abstract int getOuterHeight(); + @JSProperty + public abstract int getScrollY(); + @JSProperty public abstract String getName(); 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 bdaf7ed79..30e172de5 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 @@ -114,6 +114,9 @@ public interface HTMLElement extends Element, ElementCSSInlineStyle, EventTarget @JSProperty int getScrollHeight(); + @JSProperty + int getOffsetHeight(); + @JSProperty @Override HTMLDocument getOwnerDocument();