Unexpected jump at the end of css transition, when scaling fractional-pixel-size element
Categories
(Core :: CSS Transitions and Animations, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
Details
Attachments
(3 files)
STR:
- Hover the blue square in this testcase.
EXPECTED RESULTS:
Smooth transition to final size.
ACTUAL RESULTS:
Transition has an unexpected "snap" at the end, where there's a sudden burst of additional growth to reach the final size.
| Reporter | ||
Comment 1•2 years ago
|
||
In this version the final "snap" is inwards, like a recoil effect where we appear to overshoot the correct size when we're animating on the compositor, or something like that.
| Reporter | ||
Comment 2•2 years ago
|
||
| Reporter | ||
Comment 3•2 years ago
•
|
||
I initially noticed this on https://drafts.csswg.org/css-color-5/#example-e5e90948 -- all the color swatches in that spec have a little final "jitter/shift" in Firefox -- and I reduced the testcase from there.
I think a fractional-pixel-size box is important for triggering this issue -- that original site ends up with fractional size by virtue of sizing these swatches via fractional-em-valued padding, like padding: 0.6em.
Description
•