| Index: Source/core/html/HTMLLabelElement.cpp
|
| diff --git a/Source/core/html/HTMLLabelElement.cpp b/Source/core/html/HTMLLabelElement.cpp
|
| index 91a159137222ba5e0f0db1348a81596fe6479cb8..20e18c8237c91d3ed114bbb639edc6eb0edc0a3b 100644
|
| --- a/Source/core/html/HTMLLabelElement.cpp
|
| +++ b/Source/core/html/HTMLLabelElement.cpp
|
| @@ -133,7 +133,7 @@ void HTMLLabelElement::defaultEventHandler(Event* evt)
|
|
|
| document()->updateLayoutIgnorePendingStylesheets();
|
| if (element->isMouseFocusable())
|
| - element->focus();
|
| + element->focus(true, FocusDirectionMouse);
|
|
|
| // Click the corresponding control.
|
| element->dispatchSimulatedClick(evt);
|
|
|