Bug 1628500 - Remove aIgnoreTabindex argument from Element::IsInteractiveHTMLContent(). r=edgar

This argument is set to true everywhere, and soon HTML will no longer consider
tabindex for interactive content: https://github.com/whatwg/html/pull/5457.

Differential Revision: https://phabricator.services.mozilla.com/D72568
This commit is contained in:
Timothy Gu
2020-04-28 11:22:32 +00:00
parent a4fec083b0
commit ea6c1fcd3f
26 changed files with 33 additions and 62 deletions

View File

@@ -2962,10 +2962,9 @@ bool HTMLInputElement::IsNodeApzAwareInternal() const {
}
#endif
bool HTMLInputElement::IsInteractiveHTMLContent(bool aIgnoreTabindex) const {
bool HTMLInputElement::IsInteractiveHTMLContent() const {
return mType != NS_FORM_INPUT_HIDDEN ||
nsGenericHTMLFormElementWithState::IsInteractiveHTMLContent(
aIgnoreTabindex);
nsGenericHTMLFormElementWithState::IsInteractiveHTMLContent();
}
void HTMLInputElement::AsyncEventRunning(AsyncEventDispatcher* aEvent) {