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:
@@ -3211,6 +3211,12 @@ HTMLInputElement::Focus(ErrorResult& aError)
|
||||
return;
|
||||
}
|
||||
|
||||
bool
|
||||
HTMLInputElement::IsInteractiveHTMLContent() const
|
||||
{
|
||||
return mType != NS_FORM_INPUT_HIDDEN;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLInputElement::Select()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user