mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
Align Element.ScrollIntoView() with the spec.
This also removes the (unused) shadow alias from nsIDOMHTMLElement which used the different calling convention. This resolves #927
This commit is contained in:
parent
83b95f2c5b
commit
14ea8bb121
5 changed files with 56 additions and 25 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue