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

Unified Diff: Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp

Issue 11503003: Merge 136803 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 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 | « Source/WebCore/css/html.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp
===================================================================
--- Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp (revision 137098)
+++ Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp (working copy)
@@ -107,6 +107,8 @@
void DateTimeSymbolicFieldElement::setEmptyValue(EventBehavior eventBehavior)
{
+ if (isReadOnly())
+ return;
m_selectedIndex = invalidIndex;
updateVisibleValue(eventBehavior);
}
« no previous file with comments | « Source/WebCore/css/html.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698