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

@@ -36,6 +36,12 @@ public:
NS_IMPL_FROMCONTENT_HTML_WITH_TAG(HTMLButtonElement, button)
// Element
virtual bool IsInteractiveHTMLContent() const MOZ_OVERRIDE
{
return true;
}
// nsIDOMHTMLButtonElement
NS_DECL_NSIDOMHTMLBUTTONELEMENT