Sunday, June 5, 2011

CSS Animation in Firefox

Mibbu now supports CSS Animations also in Firefox. The only version in which I have tested it is 5.0/Beta, but I think it should works also in Aurora. Feature detection problem I describe last week wasn't the only unexpected behavior during implementing this (BTW, I want to thanks Anonymous guy who corrects my attempt - contact me, I have only your IP & Country you were writing from:), and Paul Irish for deeper explanation of the problem).

Every animation I've created using Mibbu in Firefox animate only once. No matter if I put 'infinite' as a value of AnimationIterationCount. Using MozAnimation shorthand property doesn't want to work. I rewrote everything couple of times in different ways without any result (sometimes it just stop working also on webkit:)). And then I figure out that setting 'none' as 'MozAnimationDelay' instead of 0 (as in the spec!) solves everything. Nice try Mozilla, but it is again 1:0 for me:). I really love everything from Mozilla, Firefox is my main browser, each day I'm working with technologies created there (also in my full time job in GaduGadu), I'm excited in every news like THIS ONE, and I even ran XUL workshop two weeks ago on FalsyValues conference. But sometimes I simply don't understand why they solve something in such a weird way.
I also had to use MozAnimation attribute using brackets notation because Closure Compiler don't understand it and minimized it to the single letter.
So, you can now download Mibbu from my Github account and play with it.

UPDATE
Ok, thanks to Marek Stepien's research done after my post we figured out that putting delay value without the unit ('0' instead of '0s') solves the problem. Probably, when we put single digit without units, Firefox thought that it is -animation-iteration-count (the only property without any units). Marek creates bug report for this here.

47 comments:

  1. Aw, this was a really great post. In theory I'd like to write like this also - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get something done. Info Smartphone readmore

    ReplyDelete
  2. great article man i just love the way you explained everything keep it up free blogger template

    ReplyDelete

  3. Online Review MarketTeaches You The best Seo,Blogging,Make Money Online,Girl Whatsapp Group Join,Mobile Review,Link Building Tips and Tricks For Free


    100+Hot Girl Whatsapp Group Join Link

    Xiaomi Mi Band 4 Features Price and Specification

    ReplyDelete
  4. It is truly a nice & useful piece of info. I am glad that you just
    shared this useful information with us. Please stay
    us up to date like this.
    Thanks for sharing.
    Dream Images World

    ReplyDelete
  5. Good article! Amazing info over here. It is pretty worth enough for me. From my point of view, if all web owners and bloggers made good content as you did, the web will be a lot more useful than ever before. I could not resist commenting. I ‘ve spent 1 hour trying to find such tips. I will also share it with some friends interested in it. I have just bookmarked this web.
    Mahakal status 2020
    How much data does a YouTube video consume?
    How To Get Followers On Instagram?
    How to Apply for fresh Indian Passport Online.
    Happy Good Friday Images, History
    What is the best way to find online deals?

    ReplyDelete
  6. Artikel yang sangat baik dan informatif.

    Salam Hangat, Info Sehat

    ReplyDelete
  7. Thanks for sharing this wonderful content.its very useful to us.There is lots of Post about Python But your way of Writing is so Good & Knowledgeable.keep posting such useful information.
    Full Stack Training in Chennai | Certification | Online Training Course
    Full Stack Training in Bangalore | Certification | Online Training Course

    Full Stack Training in Hyderabad | Certification | Online Training Course
    Full Stack Developer Training in Chennai | Mean Stack Developer Training in Chennai
    Full Stack Training

    Full Stack Online Training



    I gained many unknown information, the way you have clearly explained is really fantastic.

    ReplyDelete
  8. I really like this information . thanks for sharing such a beautiful information with us.This is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming.Java training in Chennai

    Java Online training in Chennai

    Java Course in Chennai

    Best JAVA Training Institutes in Chennai

    Java training in Bangalore

    Java training in Hyderabad

    Java Training in Coimbatore

    Java Training

    Java Online Training

    ReplyDelete
  9. Quite Interesting post!!! Thanks for posting such a useful post. I wish to read your upcoming post to enhance my skill set, keep blogging.I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Artificial Intelligence Training in Chennai

    Ai Training in Chennai

    Artificial Intelligence training in Bangalore

    Ai Training in Bangalore

    Artificial Intelligence Training in Hyderabad | Certification | ai training in hyderabad

    Artificial Intelligence Online Training

    Ai Online Training

    Blue Prism Training in Chennai

    ReplyDelete
  10. Very interesting blog. Many blogs I see these days do not really provide anything that attracts others, but believe me the way you interact is literally awesome. I would like to read newer posts and to share my thoughts with you.
    python training in chennai

    python course in chennai

    python online training in chennai

    python training in bangalore

    python training in hyderabad

    python online training

    python training

    python flask training

    python flask online training

    python training in coimbatore


    ReplyDelete
  11. Very nice <a href="www.technoknowledges.co> blog</a>

    ReplyDelete
  12. very interesting, good job and thanks for sharing such a good blog. Seo Services Delhi

    ReplyDelete
  13. very interesting, good job and thanks for sharing such a good blog. Youtube Mp3 Converter

    ReplyDelete
  14. [link=https://amexcard786.wordpress.com/]americanexpress.com/confirm card[/link]
    [link=https://americancards786.wordpress.com/]americanexpress.com/confirm card[/link]
    [link=https://amexcardconfirm.wordpress.com/]americanexpress.com/confirm card[/link]

    [link=https://chasecomverifycard321.wordpress.com/]americanexpress.com/confirm card[/link]

    ReplyDelete
  15. To activate your americanexpress card visit americanexpress com/confirmcard and follow the activation process. You can also make a call on our number to confirm your card.
    americanexpress.com/confirmcard

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. I'm certain this post has assisted me with saving numerous long periods of perusing other related presents simply on discover what I was searching for. Much obliged!

    AWS Training in Hyderabad

    ReplyDelete
  18. Really an awesome blog. Informative and knowledgeable content. I enjoyed while reading your article. Keep sharing more stuff like this. Thank you.
    Data Science Training in Hyderabad

    ReplyDelete
  19. Data Science Course in Chennai with the appropriate tools and techniques at SLA. Learn from fundamentals, Machine Learning Concepts, AI Strategies, SAS, Statistics, Tableau, Hadoop, Apache Spark, and Programming Skills with Python, and R Languages. Promising career after the course completion on these top trending courses with the industry-endorsed certifications.

    https://www.slajobs.com/data-science-training-in-chennai/

    ReplyDelete
  20. Really an awesome blog. Informative and knowledgeable content. I enjoyed while reading your article. Keep sharing more stuff like this. Thank you.Embedded Systems Course in Hyderabad

    ReplyDelete
  21. Thanks for sharing the article, it gives useful information. Keep sharing more updates.
    Sex Crimes Lawyer VA
    virginia reckless driving
    conducción temeraria de virginia

    ReplyDelete
  22. It is very useful for me and thank you so much for your sharing this post. Keep updating...
    Cheap Uncontested Divorce in VA
    Family Lawyer Cost
    Best Family Court Lawyers Near Me

    ReplyDelete
  23. I am thoroughly impressed by your excellent post and review. Please continue to produce such remarkable content. Thank you!

    Best Junior Colleges in Hyderabad for MEC

    ReplyDelete
  24. I'm delighted to express that your post is quite captivating. I've gained fresh insights from your write-up, and you're doing an exceptional job. Keep up the good work. For More Visit the below website

    Best CMA institute in Hyderabad

    ReplyDelete
  25. I am delighted to express that your post is captivating to read. I acquire fresh knowledge from your article, and you are doing an excellent job. Please continue your great work.

    CMA institute Hyderabad

    ReplyDelete
  26. I haven't come across such a valuable resource in a long time. It is well-written and contains excellent information. I am truly grateful to you for sharing it.

    CMA Coaching Centres in Hyderabad

    ReplyDelete
  27. I haven't come across such a valuable resource in a long time. It is excellently written and contains incredibly useful information. I truly cannot express my gratitude enough for sharing it.

    CMA Colleges in Hyderabad

    ReplyDelete
  28. Your blog is truly amazing. The content is informative and full of knowledge. I had a great time reading your article. Please continue to share more content like this. Thank you.

    Best CMA Coaching in Hyderabad

    ReplyDelete
  29. This comment has been removed by the author.

    ReplyDelete
  30. Your experience with CSS Animations and Firefox highlights the intricate world of web development, where even the slightest nuances can lead to unexpected behavior. It's fantastic to see your dedication to understanding and solving these issues.

    The fact that animations created with Mibbu in Firefox were running only once, regardless of the AnimationIterationCount, is indeed a puzzling challenge. It's a testament to the complexity of browser compatibility.
    https://jewelorchard.com/wedding-destination-in-hyderabad/
    https://jewelorchard.com/places-for-birthday-celebration-in-hyderabad/
    https://jewelorchard.com/wedding-venue-in-hyderabad/
    https://jewelorchard.com/best-convention-hall-in-hyderabad/
    https://jewelorchard.com/pre-wedding-shoot-places-in-hyderabad/

    ReplyDelete
  31. Your experience with CSS Animations and Firefox highlights the intricate world of web development, where even the slightest nuances can lead to unexpected behavior. It's fantastic to see your dedication to understanding and solving these issues.
    https://ajacommerceacademy.com/ca-coaching-in-hyderabad/
    https://ajacommerceacademy.com/ca-foundation-course/
    https://ajacommerceacademy.com/ca-intermediate-course/
    https://ajacommerceacademy.com/ca-final-course/

    ReplyDelete