The CSS spec allows '0' without units for length values. WebKit has extended this by allowing the same unitless value for angles. It should also allow the same for time values. A value of '0' should be parsed the same as '0s'.
Created attachment 22903 [details] Patch, including LayoutTest files
Comment on attachment 22903 [details] Patch, including LayoutTest files How odd. I know I wrote this same patch ages ago (back when I was first doing transitions). Did I never land it? r=me
Testcase needs wording changes, and changelog entries have tabs.
(In reply to comment #2) > (From update of attachment 22903 [details] [edit]) > How odd. I know I wrote this same patch ages ago (back when I was first doing > transitions). Did I never land it? Weird, I am also almost certain that "0" used to work at some point.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog A LayoutTests/css1/units/zero-duration-without-units-expected.txt A LayoutTests/css1/units/zero-duration-without-units.html M WebCore/ChangeLog M WebCore/css/CSSParser.cpp Committed r35879
patch committed