Summary: | REGRESSION: <progress> doesn't animate if it doesn't have value | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Hajime Morrita <morrita> | ||||
Component: | DOM | Assignee: | Hajime Morrita <morrita> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | abarth, eric, webkit.review.bot, yael | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Hajime Morrita
2011-04-15 14:06:18 PDT
Created attachment 89862 [details]
Patch
Thanks for fixing it. Comment on attachment 89862 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89862&action=review Nice patch. Yay for named constants. > Source/WebCore/ChangeLog:12 > + No new tests. Testing animated bar is not possible with DRT. Frown. This likely means we will continue to have regressions. Comment on attachment 89862 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=89862&action=review > Source/WebCore/html/HTMLProgressElement.cpp:43 > +const double HTMLProgressElement::IndeterminatePosition = -1; > +const double HTMLProgressElement::InvalidPosition = -2; In RenderProgress::isDeterminate(), we should use these named constants, or add a comment that "0 <= " means neither indeterminate nor invalid. Adam, Kent-san, thank you for reviewing! I'll land this with addressing Kent-san's point. Committed r84156: <http://trac.webkit.org/changeset/84156> http://trac.webkit.org/changeset/84156 might have broken GTK Linux 32-bit Debug |