Index: WebCore/html/HTMLProgressElement.cpp |
=================================================================== |
--- WebCore/html/HTMLProgressElement.cpp (revision 73789) |
+++ WebCore/html/HTMLProgressElement.cpp (working copy) |
@@ -70,6 +70,13 @@ |
HTMLFormControlElement::parseMappedAttribute(attribute); |
} |
+void HTMLProgressElement::attach() |
+{ |
+ HTMLFormControlElement::attach(); |
+ if (renderer()) |
+ renderer()->updateFromElement(); |
+} |
+ |
double HTMLProgressElement::value() const |
{ |
const AtomicString& valueString = getAttribute(valueAttr); |