| Index: Source/core/html/HTMLLegendElement.cpp
|
| diff --git a/Source/core/html/HTMLLegendElement.cpp b/Source/core/html/HTMLLegendElement.cpp
|
| index d73f0ccc604a1c546171a86b2d60366c87a32572..9589512d6119122e09de2e593409ff304e77af89 100644
|
| --- a/Source/core/html/HTMLLegendElement.cpp
|
| +++ b/Source/core/html/HTMLLegendElement.cpp
|
| @@ -71,7 +71,7 @@ void HTMLLegendElement::focus(bool, FocusDirection direction)
|
| {
|
| if (isFocusable())
|
| Element::focus(true, direction);
|
| -
|
| +
|
| // To match other browsers' behavior, never restore previous selection.
|
| if (HTMLFormControlElement* control = associatedControl())
|
| control->focus(false, direction);
|
| @@ -94,5 +94,5 @@ HTMLFormElement* HTMLLegendElement::virtualForm() const
|
|
|
| return static_cast<HTMLFieldSetElement*>(fieldset)->form();
|
| }
|
| -
|
| +
|
| } // namespace
|
|
|