Bug 1144322 - Handle tabindex in overridden IsInteractiveHTMLContent methods. r=smaug

This commit is contained in:
Tooru Fujisawa
2015-03-23 18:02:33 +09:00
parent 38bbd4bc23
commit 1ebc0fcbe0
6 changed files with 38 additions and 50 deletions

View File

@@ -3224,7 +3224,8 @@ HTMLInputElement::Focus(ErrorResult& aError)
bool
HTMLInputElement::IsInteractiveHTMLContent(bool aIgnoreTabindex) const
{
return mType != NS_FORM_INPUT_HIDDEN;
return mType != NS_FORM_INPUT_HIDDEN ||
nsGenericHTMLFormElementWithState::IsInteractiveHTMLContent(aIgnoreTabindex);
}
NS_IMETHODIMP