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

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

Issue 12079062: Merge 140791 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months 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: Source/WebCore/html/shadow/DateTimeFieldElement.cpp
===================================================================
--- Source/WebCore/html/shadow/DateTimeFieldElement.cpp (revision 141197)
+++ Source/WebCore/html/shadow/DateTimeFieldElement.cpp (working copy)
@@ -140,11 +140,11 @@
m_fieldOwner->focusOnNextField(*this);
}
-void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String& axHelpText)
+void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String& axHelpText, int axMinimum, int axMaximum)
{
setAttribute(aria_helpAttr, axHelpText);
- setAttribute(aria_valueminAttr, String::number(minimum()));
- setAttribute(aria_valuemaxAttr, String::number(maximum()));
+ setAttribute(aria_valueminAttr, String::number(axMinimum));
+ setAttribute(aria_valuemaxAttr, String::number(axMaximum));
setPseudo(pseudo);
appendChild(Text::create(document(), visibleValue()));
}
« no previous file with comments | « Source/WebCore/html/shadow/DateTimeFieldElement.h ('k') | Source/WebCore/html/shadow/DateTimeNumericFieldElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698