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

Unified Diff: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp

Issue 2568443002: INPUT element: Do not use identical ID name for SearchFieldCancelButtonElement and ClearButtonEleme… (Closed)
Patch Set: step_func_done Created 4 years 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
Index: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
index a12c860c854417bf1cb56d053fafaef99be49b3c..dda850dc2fa0d96f9f3ec5f1ddcc1c497839279a 100644
--- a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp
@@ -150,7 +150,7 @@ const AtomicString& SearchInputType::defaultAutocapitalize() const {
void SearchInputType::updateCancelButtonVisibility() {
Element* button = element().userAgentShadowRoot()->getElementById(
- ShadowElementNames::clearButton());
+ ShadowElementNames::searchClearButton());
if (!button)
return;
if (element().value().isEmpty()) {

Powered by Google App Engine
This is Rietveld 408576698