WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20467
Should allow 0 (without units) as a time value for durations and delays
https://bugs.webkit.org/show_bug.cgi?id=20467
Summary
Should allow 0 (without units) as a time value for durations and delays
Chris Marrin
Reported
2008-08-20 15:21:50 PDT
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'.
Attachments
Patch, including LayoutTest files
(3.98 KB, patch)
2008-08-20 15:45 PDT
,
Chris Marrin
hyatt
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Marrin
Comment 1
2008-08-20 15:45:58 PDT
Created
attachment 22903
[details]
Patch, including LayoutTest files
Dave Hyatt
Comment 2
2008-08-20 15:49:36 PDT
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
Simon Fraser (smfr)
Comment 3
2008-08-20 16:18:51 PDT
Testcase needs wording changes, and changelog entries have tabs.
mitz
Comment 4
2008-08-20 16:21:13 PDT
(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.
Dean Jackson
Comment 5
2008-08-21 16:35:54 PDT
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
Chris Marrin
Comment 6
2008-08-21 16:37:52 PDT
patch committed
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug