Closed
Bug 956066
Opened 12 years ago
Closed 10 years ago
Animation happens twice when we also have a transition and a font-face load
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: m+mozilla, Assigned: dbaron)
References
()
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20140102004005
Steps to reproduce:
Gone there http://kud.io/
Actual results:
Double animation on "kud" circle
Expected results:
Just one animation. No problem with other browsers (like chrome).
URL: http://kud.io/
Comment 1•12 years ago
|
||
Reproduced on latest Aurora 28.0a2 and latest Nightly 29.0a1 using Mac OS X 10.9, Ubuntu 13.04 x32 and Windows 7 x32.
Status: UNCONFIRMED → NEW
Component: Untriaged → CSS Parsing and Computation
Ever confirmed: true
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Updated•12 years ago
|
Version: 28 Branch → Trunk
![]() |
||
Comment 2•12 years ago
|
||
Double animation in what sense? I don't see any animation at all when I just load the page; I certainly don't see any "double animation"... What are the actual steps to reproduce here?
Flags: needinfo?(erwann.mest)
Sometimes, you have to refresh the webpage to see the correct animation.
The "_kud" bubble comes from top to the middle. Works perfectly well on other browsers.
Flags: needinfo?(erwann.mest)
On firefox, either the animation doesn't come, either the animation comes twice (double top-to-middle).
![]() |
||
Comment 5•12 years ago
|
||
Oh, I see, my window has to be > 1024px wide or the page won't try to do the animation.
The issue here is that the <a> has both an animation which animates the "transform" property _and_ a transition on all properties.
And something about the font-face load triggers a restyle which tickles the transition, or something....
Summary: Animation broken → Animation happens twice when we also have a transition and a font-face load
![]() |
||
Comment 6•12 years ago
|
||
Yeah, small screens don't have the animation ;) Sorry, I should have explained it.
Yes, you perfectly rewrited the code, thank you Boris!
![]() |
||
Comment 8•12 years ago
|
||
I have a 1920x1200 screen, fwiw, but my browser windows are tiled two across.
Assignee | ||
Comment 10•12 years ago
|
||
This code needs to be rewritten in the pretty near future (bug 960465), so I'm inclined not to debug this in the expectation that it will be fixed by that rewrite.
Depends on: 960465
Flags: needinfo?(dbaron)
Updated•12 years ago
|
Priority: -- → P4
Reporter | ||
Comment 11•11 years ago
|
||
As it will be fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=960465 as you said, should we close the bug?
![]() |
||
Comment 12•11 years ago
|
||
> As it will be fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=960465 as you said,
It will _probably_ be fixed. It might not be. So once that bug is fixed, we'll need to retest this one to see whether it's fixed or not.
Reporter | ||
Comment 13•11 years ago
|
||
Okay thanks :)
Comment 14•10 years ago
|
||
Attachment #8575161 -
Attachment mime type: text/plain → text/html
Comment 15•10 years ago
|
||
The bug still exists and occurs when element has both transition and animation properties applied to the same CSS property. Interesting thing: bug occurs only on page load, if you remove element from page and append it back - everything works fine.
Assignee | ||
Comment 16•10 years ago
|
||
Fixed by bug 960465 (or, very unlikely, something else that landed the same day).
Assignee: nobody → dbaron
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•