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

Unified Diff: third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.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/DateTimeEditElement.cpp
diff --git a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
index df0366dc22eec021b0f59f13a05ac12e95dd7c73..425102b6e6035abc595d8e04213a1e844d20f7f0 100644
--- a/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
+++ b/third_party/WebKit/Source/core/html/shadow/DateTimeEditElement.cpp
@@ -708,6 +708,9 @@ bool DateTimeEditElement::isReadOnly() const {
void DateTimeEditElement::layout(const LayoutParameters& layoutParameters,
const DateComponents& dateValue) {
+ // TODO(tkent): We assume this function never dispatches events. However this
+ // can dispatch 'blur' event in Node::removeChild().
+
DEFINE_STATIC_LOCAL(AtomicString, fieldsWrapperPseudoId,
("-webkit-datetime-edit-fields-wrapper"));
if (!hasChildren()) {

Powered by Google App Engine
This is Rietveld 408576698