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

Unified Diff: third_party/WebKit/Source/core/html/shadow/ShadowElementNames.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/shadow/ShadowElementNames.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp b/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
index ca3316ef1cdc2bf5459276d8ecead8423171692b..f199d2a9307d27a1680488bf7a8f5644e26d94ef 100644
--- a/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp
@@ -84,6 +84,11 @@ const AtomicString& placeholder() {
return name;
}
+const AtomicString& searchClearButton() {
+ DEFINE_STATIC_LOCAL(AtomicString, name, ("search-clear"));
+ return name;
+}
+
const AtomicString& searchDecoration() {
DEFINE_STATIC_LOCAL(AtomicString, name, ("decoration"));
return name;

Powered by Google App Engine
This is Rietveld 408576698