[Webkit-unassigned] [Bug 211986] transform-origin and opacity are wrong during animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 13 00:42:15 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=211986

--- Comment #18 from Antoine Quint <graouts at webkit.org> ---
Created attachment 469013

  --> https://bugs.webkit.org/attachment.cgi?id=469013&action=review

Further reduction

I don't know if this covers all of the issues in the original report, but I have a further-reduced sample which indicates that we resolve `transform` values independently of the animated `width` and `height` values:

div {
    width: 10px;
    height: 10px;
    background-color: black;
    animation: anim 1s linear forwards;
}

@keyframes anim {
    to {
        width: 200px;
        height: 200px;
        transform: translate(50%, 50%);
    }
}

We snap at the end when we resolve `translate(50%, 50%)` to account for the new `width` and `height` values.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231213/312c513a/attachment-0001.htm>


More information about the webkit-unassigned mailing list