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

Unified Diff: third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.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
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
index 11f274a15ec74db5622e9d1700ae7e4829211f19..dce8a418553f547b1bcca548ac392e2e4d96b153 100644
--- a/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/TextControlInnerElements.cpp
@@ -165,7 +165,7 @@ SearchFieldCancelButtonElement* SearchFieldCancelButtonElement::create(
SearchFieldCancelButtonElement* element =
new SearchFieldCancelButtonElement(document);
element->setShadowPseudoId(AtomicString("-webkit-search-cancel-button"));
- element->setAttribute(idAttr, ShadowElementNames::clearButton());
+ element->setAttribute(idAttr, ShadowElementNames::searchClearButton());
return element;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/shadow/ShadowElementNames.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698