Index: WebCore/html/HTMLLabelElement.cpp |
=================================================================== |
--- WebCore/html/HTMLLabelElement.cpp (revision 73270) |
+++ WebCore/html/HTMLLabelElement.cpp (working copy) |
@@ -119,7 +119,7 @@ |
// If we can't find a control or if the control received the click |
// event, then there's no need for us to do anything. |
- if (!element || (evt->target() && element->contains(evt->target()->toNode()))) |
+ if (!element || (evt->target() && element->containsIncludingShadowDOM(evt->target()->toNode()))) |
return; |
processingClick = true; |