Comment from dieter
mm, well the only positive thing I can think of is that animations will work for people that have css on but javascript disabled... Otherwise seems a weird thing to do.
View ArticleComment from Mark Wubben
I'm all for browser-native animation. Don't really care how to get there, as long as we get it. That said, I agree it'd make more sense to run this through the DOM.
View ArticleComment from Dave Hyatt
I disagree. Many kinds of animated transitions are presentational and have nothing to do with behavior. For example, the pulsing default buttons in dialogs in OS X, or the animated fade that occurs...
View ArticleComment from Ben Henschel
Yeah I'm gonna have to agree on this one, I can not see anything good coming from this.
View ArticleComment from Nathan Smith
I agree. CSS animation is probably one of the dumbest things I've heard in awhile. It seems like the iPhone is plunging web development back into another round of browser wars. I suppose it's to be...
View ArticleComment from Jamie Hill
Along similar lines to my worry: http://www.thelucid.com/articles/2007/10/30/proprietary-css-rules-are-we-returning-to-1995
View ArticleComment from Jeff Croft
I'm with Dave here. The "behavior" in Behavior Layer refers to the behavior of the user. The Behavior Layer might be more aptly-named the user-interaction layer. Animations are presentational. The are...
View ArticleComment from Nathan
I agree that animation in general does not need to be in CSS, but I think most are missing where I think this might be used the most - :hover We already use :hover to change the colors of links, what...
View ArticleComment from Lim Chee Aun
Wow, some really good points there. As for accessibility features, I guess browsers supporting CSS animation will have an option to disable it, something like disabling GIF animation. And I never knew...
View ArticleComment from Jonathan Snook
@Dave/Jeff: I define behaviour (of the Content-Presentation-Behavior layer) as change. A user enacts a change by interacting with the page via a mouse click, etc. However, these changes can occur...
View ArticleComment from Maciej Stachowiak
You can animate from the DOM too, by using CSS object model to set the appropriate style rules. The way it is implemented, it work both ways.
View ArticleComment from Jeff Croft
Jonathan, I know you're not anti browser-animation. Still, CSS just makes sense to me as the place for this. Animation is a purely visual and presentational thing. CSS is the best place for visual and...
View ArticleComment from jdbartlett
Jonathan: thanks for the response. I can certainly see your angle here, but I sympathize with Apple's reasoning, especially as browser developers. This goes beyond the scope of your article, but I feel...
View ArticleComment from Jakub Nesetril
It's border-line, but I tend to agree with Dave/Jeff. In my opinion, behavior means user-interaction. There can be two types of animation: animations that are part of visual presentation and animations...
View ArticleComment from Jonathan Snook
Why is a CSS solution better than a JavaScript solution? How it addresses the technical issues (when did the animation start, what is the value at any given time, what happens when I try to access a...
View ArticleComment from Anton
I'll probably just use Flash instead... neither CSS nor JS. ;-) Seriously though for a moment, for all the good points on both sides, I'm trying to think of a real-world situation where I will need an...
View ArticleComment from Michael Hoskins
I agree. This is far too familiar, like Microsoft's proprietary extensions to DOM, their half-assed CSS implementations, as well as proprietary CSS (filters that use DirectShow and those awesome page...
View ArticleComment from Jeff Croft
Jonathan: I totally agree with you that a JavaScript solution is probably better, as in it's probably more flexible, more robust, and more useful (after all, JavaScript is a full programming language,...
View Article