Bug 229925 - Do not dispatch event to label target if interactive content is found between the event target and the label. r=smaug

This commit is contained in:
Tooru Fujisawa
2015-01-21 05:39:28 +09:00
parent 95bc90e89d
commit b10a0c8ee5
24 changed files with 265 additions and 11 deletions

View File

@@ -3211,6 +3211,12 @@ HTMLInputElement::Focus(ErrorResult& aError)
return;
}
bool
HTMLInputElement::IsInteractiveHTMLContent() const
{
return mType != NS_FORM_INPUT_HIDDEN;
}
NS_IMETHODIMP
HTMLInputElement::Select()
{