Chromium Code Reviews| Index: Source/core/html/HTMLTextAreaElement.cpp |
| diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
| index 6653cb1b2befa66630985cfe355ea8ec86b94fef..618edc102dff8279d9946dc82e08016dbb9cabdd 100644 |
| --- a/Source/core/html/HTMLTextAreaElement.cpp |
| +++ b/Source/core/html/HTMLTextAreaElement.cpp |
| @@ -240,7 +240,7 @@ bool HTMLTextAreaElement::shouldShowFocusRingOnMouseFocus() const |
| void HTMLTextAreaElement::updateFocusAppearance(bool restorePreviousSelection) |
| { |
| - if (!restorePreviousSelection || !hasCachedSelection()) { |
| + if (!restorePreviousSelection) { |
| // If this is the first focus, set a caret at the beginning of the text. |
|
tkent
2014/04/10 01:37:39
This comment is obsolete. Please remove it.
harpreet.sk
2014/04/10 06:13:27
Done.
|
| // This matches some browsers' behavior; see bug 11746 Comment #15. |
| // http://bugs.webkit.org/show_bug.cgi?id=11746#c15 |