[Webkit-unassigned] [Bug 238423] New: Motion Offset Path properties effectively removed when transform animation also applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 27 10:37:46 PDT 2022


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

            Bug ID: 238423
           Summary: Motion Offset Path properties effectively removed when
                    transform animation also applied
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dwilson1 at gmail.com
                CC: dino at apple.com, graouts at apple.com

Created attachment 455865

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

A screen capture of the expected results, as captured in the latest Firefox Nightly.

Motion Path (`offset-path`) properties appear to be working well until a transform animation (or transition) is applied to the same element. I've tried to break this down to a reduced case in the following demo: https://codepen.io/danwilson/pen/OJOjPjJ?editors=0100

I can set values for an `offset-path` and individual `offset-distance` for various elements (in the demo, it's an unordered list of 6 items)

If I do just the offset properties, or even if I add a static `transform` to each item, the offset path and distance are applied as expected.

However, if instead I try to do a `transform` animation or transition, the offset properties all effectively unapplied (but they show as active in dev tools).

It appears it's any animation that includes a transform, translate, scale, or rotate property. An opacity animation, as seen in the demo, still respects the offset properties applied.

I first noticed this in a much larger demo https://codepen.io/danwilson/pen/PQddxe and thought Motion Path wasn't working (even though it had been mentioned in Release Notes for Tech Preview) until I opened others' demos in Safari TP. I'm including that demo here in case my reduced test case and hypotheses are incomplete or inaccurate.

I have seen this behavior since Motion Path was first introduced on Tech Preview, including the most recent version 142.

-- 
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/20220327/68941971/attachment-0001.htm>


More information about the webkit-unassigned mailing list