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(); |