Side navigation
#9356 closed enhancement (wontfix)
Opened May 20, 2011 02:36AM UTC
Closed June 07, 2011 06:53PM UTC
.css method needs callback for handling -webkit-transition...
Reported by: | peter.i.ehrlich@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.7 |
Component: | css | Version: | 1.6.1 |
Keywords: | 1.7-discuss | Cc: | |
Blocked by: | Blocking: |
Description
as css properties can now in certain cases be time-based, the jquery method should should be a callback function.
Attachments (0)
Change History (11)
Changed May 20, 2011 03:10PM UTC by comment:1
component: | unfiled → css |
---|---|
priority: | undecided → low |
status: | new → open |
Changed May 22, 2011 07:27PM UTC by comment:2
keywords: | → 1.7-discuss |
---|
Nominating ticket for 1.7 discussion.
Changed May 22, 2011 08:38PM UTC by comment:3
+0, This is an interesting point, but I think it deserves more discussion
Changed May 23, 2011 12:58AM UTC by comment:4
-1, No, transitions should be dealt with in animations first, then, and only then, should we consider re-routing .css to .animate when needs be.
Changed May 23, 2011 04:58AM UTC by comment:5
-1,
Changed May 23, 2011 04:37PM UTC by comment:6
_comment0: | +0 I really like this idea but let's explore it via a duck punch before it heads into core. \ \ generally it woud work like this \ \ 1) determine support for css transitions at load \ 2) if support, on every css() call with attached callback, bind to the associated transitionEnd event (or all of them) \ 2a) if no support, fire callback immediately after style change is made \ 3) when transitionEnd event fires, fire callback \ \ Some relevant code is here: https://github.com/Modernizr/Modernizr/blob/cade16/modernizr.js#L1071-1090 → 1306168681516598 |
---|
+0 I really like this idea but let's explore it via a duck punch before it heads into core.
generally it woud work like this
1) determine support for css transitions at load
2) if support, on every css() call with attached callback, bind to the associated transitionEnd event (or all of them)
2a) if no support, fire callback immediately after style change is made
3) when transitionEnd event fires, fire callback
Some relevant code is here: https://github.com/Modernizr/Modernizr/blob/cade16/modernizr.js#L1071-1090
Changed May 24, 2011 10:10PM UTC by comment:7
-1, Plugin first.
Changed June 03, 2011 02:05PM UTC by comment:8
-1, Seems like focusing on improving animate would be better (or having this as a plugin).
Changed June 05, 2011 10:18PM UTC by comment:9
-1, Definitely an awesome idea but "plugin first," i.e., we want to see it happening :)
Changed June 06, 2011 03:19PM UTC by comment:10
-1
Changed June 07, 2011 06:53PM UTC by comment:11
milestone: | 1.next → 1.7 |
---|---|
resolution: | → wontfix |
status: | open → closed |
Closing per 1.7 roadmap meeting resolution
Please submit a proposal for 1.7 https://spreadsheets.google.com/viewform?formkey=dG0yTEs2ZTFWQUhDRUp5dzRyc3NwV2c6MA