diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-08 17:35:24 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-01-08 17:42:01 +0100 |
commit | 814e0bca313611080bd5d26c850023e06af042ab (patch) | |
tree | 7a954cca04c3e52c1a5d96314b96fdc909f9507c /dom/html/nsGenericHTMLElement.h | |
parent | 29b9d4496a52e8a98b7ade9c57001126daee5608 (diff) | |
download | UXP-814e0bca313611080bd5d26c850023e06af042ab.tar UXP-814e0bca313611080bd5d26c850023e06af042ab.tar.gz UXP-814e0bca313611080bd5d26c850023e06af042ab.tar.lz UXP-814e0bca313611080bd5d26c850023e06af042ab.tar.xz UXP-814e0bca313611080bd5d26c850023e06af042ab.zip |
Align Element.ScrollIntoView() with the spec. (uplift)PM28.3.0_Release
This also removes the (unused) shadow alias from nsIDOMHTMLElement
which used the different calling convention.
This resolves #927
Diffstat (limited to 'dom/html/nsGenericHTMLElement.h')
-rw-r--r-- | dom/html/nsGenericHTMLElement.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/html/nsGenericHTMLElement.h b/dom/html/nsGenericHTMLElement.h index 0635c27e1..24a7a3652 100644 --- a/dom/html/nsGenericHTMLElement.h +++ b/dom/html/nsGenericHTMLElement.h @@ -396,13 +396,6 @@ public: } NS_IMETHOD InsertAdjacentHTML(const nsAString& position, const nsAString& text) final override; - NS_IMETHOD ScrollIntoView(bool top, uint8_t _argc) final override { - if (!_argc) { - top = true; - } - mozilla::dom::Element::ScrollIntoView(top); - return NS_OK; - } NS_IMETHOD GetOffsetParent(nsIDOMElement** aOffsetParent) final override { mozilla::dom::Element* offsetParent = GetOffsetParent(); |