Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: WebCore/html/HTMLLabelElement.cpp

Issue 5605003: Merge 73270 - 2010-12-03 Dimitri Glazkov <dglazkov@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « WebCore/dom/Node.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « WebCore/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698