css3 - Glitches with cross-browser CSS support for 100% transform translate animation movement -
i've dug out old piece of js code wrote thought i'd put online free use, , i've found 1 css animation rendering issue stumped me 3 years ago still acting today.
it involves animating element left:100%
/transform: translatex(100%)
or top:100%
/translatey(100%)
0
, from off right or bottom of parent element origin.
i've been testing in google chrome on mac os x (47.0.2526.111) , glitchy rendering occurring, visible in example: https://jsfiddle.net/lvl99/g29o0005/
the glitch shifts transitioning element origin position, animates off screen jump origin position.
back when debugging issue posted question here , working solution change 100%
value 92.5%
in css. works left
/translatex
values, not top
/translatey
values.
one interesting aspect glitch rendering negative values origin has no issue, i.e. left:-100%
/transform:translatex(-100%)
, top:-100%
/transform:translatey(-100%)
seem render (from off top or left of parent element origin no jumping).
i tested google chrome on ipad , latest version of google chrome canary , rendering issues seem resolved. i've tested mozilla firefox (43.0.4) , safari (8.0.8 (10600.8.9)) on computer seem render faithfully, 3d , card transition styles there layering issues (could z-index
or transform-style: preserve-3d
issue?)
i have old macbook pro (mid-2009) perhaps it's graphics card. wondering if else has had similar rendering issues or experience off-screen elements animating. i've utilised backface-visibility: hidden
aid other rendering issues.
since google chrome canary renders lot better, i'm hoping resolved in regular build of google chrome, cross-browser across many older versions beneficial find out means have non-jumpy rendering.
i have new mac computer , revisiting issue on year later see google chrome seems play nicely now. may have been old 7 year old mac's graphics card issue!
Comments
Post a Comment