WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20473
How should transition properties repeat when you have duplicates?
https://bugs.webkit.org/show_bug.cgi?id=20473
Summary
How should transition properties repeat when you have duplicates?
Chris Marrin
Reported
2008-08-20 17:55:43 PDT
Today in TOT transition properties are filled out like this: transition-property: left, top, width, height, opacity; transition-duration: 1s, 2s; This will expand the duration to: 1s, 2s, 1s, 2s, 1s according to the CSS rules. But what should we do if you have duplicate property values like this: transition-property: opacity, left, opacity, top, width, opacity, height, opacity; Here we have 8 property values, but the 3 duplicates get removed in RenderStyle::adjustTransitions(), leaving: left, top, width, height, opacity but what should duration be in this case? Does it behave as though the unfilled values are filled in and then the duplicates removed, or should we remove duplicates and then fill out the values? Today we do the former, so duration ends up as: 2s, 2s, 1s, 1s, 2s Which should it be?
Attachments
Add attachment
proposed patch, testcase, etc.
Pierre-Olivier Latour
Comment 1
2009-01-09 13:28:19 PST
We have a radar for it: <
rdar://problem/6480074
> [transitions] spec needs to be clear how values repeat
Simon Fraser (smfr)
Comment 2
2010-04-26 09:19:29 PDT
Spec was clarified, and the implementation matches it.
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