summaryrefslogtreecommitdiff
path: root/dom/html
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-01-08 17:35:24 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-01-08 17:35:24 +0100
commitc0a05ada187f09736b5b607f7ba3da903153ae38 (patch)
treee4ecc0772c762a81123012a241d9f5a7081bc13e /dom/html
parente8cebef9d2a524067863741333a6784db4ea258d (diff)
downloaduxp-c0a05ada187f09736b5b607f7ba3da903153ae38.tar.gz
Align Element.ScrollIntoView() with the spec.
This also removes the (unused) shadow alias from nsIDOMHTMLElement which used the different calling convention. This resolves #927
Diffstat (limited to 'dom/html')
-rw-r--r--dom/html/nsGenericHTMLElement.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/dom/html/nsGenericHTMLElement.h b/dom/html/nsGenericHTMLElement.h
index 0635c27e1c..24a7a36528 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();