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

Unified Diff: Source/core/html/HTMLLabelElement.cpp

Issue 18216003: Fix an assertion failure in rendererIsFocusable of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months 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 | « LayoutTests/fast/forms/label/label-assertion-with-active-style-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLLabelElement.cpp
diff --git a/Source/core/html/HTMLLabelElement.cpp b/Source/core/html/HTMLLabelElement.cpp
index 58db658339248fde8b8061ad71fe40d744fcd797..44ac76d8b188ec30038f5a77ebd3f9113a1ee645 100644
--- a/Source/core/html/HTMLLabelElement.cpp
+++ b/Source/core/html/HTMLLabelElement.cpp
@@ -134,6 +134,7 @@ void HTMLLabelElement::defaultEventHandler(Event* evt)
// Click the corresponding control.
element->dispatchSimulatedClick(evt);
+ document()->updateLayoutIgnorePendingStylesheets();
if (element->isMouseFocusable())
element->focus();
« no previous file with comments | « LayoutTests/fast/forms/label/label-assertion-with-active-style-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698