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

Unified Diff: WebCore/html/HTMLMeterElement.cpp

Issue 5772004: Merge 73488 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 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 | « WebCore/html/HTMLMeterElement.h ('k') | WebCore/html/HTMLProgressElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/html/HTMLMeterElement.cpp
===================================================================
--- WebCore/html/HTMLMeterElement.cpp (revision 73789)
+++ WebCore/html/HTMLMeterElement.cpp (working copy)
@@ -69,6 +69,13 @@
HTMLFormControlElement::parseMappedAttribute(attribute);
}
+void HTMLMeterElement::attach()
+{
+ HTMLFormControlElement::attach();
+ if (renderer())
+ renderer()->updateFromElement();
+}
+
double HTMLMeterElement::min() const
{
double min = 0;
« no previous file with comments | « WebCore/html/HTMLMeterElement.h ('k') | WebCore/html/HTMLProgressElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698