Closed
Bug 835007
Opened 11 years ago
Closed 11 years ago
Should allow "all" in transition-property even if it's not the only value
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: bzbarsky, Assigned: dbaron)
References
Details
Attachments
(1 file)
17.56 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
The spec at http://dev.w3.org/csswg/css3-transitions/#transition-property says that "transition-property: all, margin-top" is valid as far as I can tell. But CSSParserImpl::ParseTransitionProperty doesn't allow that, and neither does CSSParserImpl::ParseTransition.
Reporter | ||
Comment 1•11 years ago
|
||
Note http://stackoverflow.com/questions/14533519/how-can-i-specify-a-css3-transition-to-all-properties-but-with-one-exception-ov for an example of how people want to use this.
Assignee | ||
Comment 2•11 years ago
|
||
Yeah, this was a change in the spec; I had a note in my todo list to deal with it, but hadn't filed a bug yet.
Assignee | ||
Comment 3•11 years ago
|
||
I have a patch in my patch queue; still needs tests.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → dbaron
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 712092 [details] [diff] [review] Make 'transition-property: all' work as an item within a list. Hmm. We don't need transition manager changes to handle this? r=me on the parts that are here; might be good explaining in the checkin comment why the transition manager doesn't need changing.
Attachment #712092 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee270530f069
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ee270530f069
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 9•11 years ago
|
||
FYI, there's a comment in CSSParserImpl::ParseTransition() that hasn't been updated. // + If there is more than one item, then none of the items can be // 'none' or 'all'. 'or 'all'' should probably be removed at some point. It did fool me to believe for a while that Firefox hadn't updated to the new behavior.
Assignee | ||
Comment 10•11 years ago
|
||
Thanks for pointing that out; I've stuck a patch to fix it in my queue, which I'll commit the next time I'm landing stuff.
Assignee | ||
Comment 11•11 years ago
|
||
Comment adjusted in https://hg.mozilla.org/integration/mozilla-inbound/rev/695c35eb1b8b
You need to log in
before you can comment on or make changes to this bug.
Description
•