[Webkit-unassigned] [Bug 194938] New: Changing the transition-duration of an-flight transition should not alter or cancel it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 01:20:16 PST 2019


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

            Bug ID: 194938
           Summary: Changing the transition-duration of an-flight
                    transition should not alter or cancel it
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: graouts at apple.com
                CC: dino at apple.com

Created attachment 362706

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

Test case

See the attached test case. In this example we start a transition by setting transition-duration to a positive value and then setting a "margin-left" style which triggers a transition for the duration set. Then, one second after the transition has started, we remove the transition-duration which reverts back to 0. In our current implementation this cancels the transition, but the spec says that it shouldn't, per the note at the bottom of https://drafts.csswg.org/css-transitions-1/#starting:

"Note that once the transition of a property has started (including being in its delay phase), it continues running based on the original timing function, duration, and delay, even if the transition-timing-function, transition-duration, or transition-delay property changes before the transition is complete. However, if the transition-property property changes such that the transition would not have started, the transition stops (and the property immediately changes to its final value)."

While this is informative text, there are no normative steps that would indicate otherwise.

-- 
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/20190222/6e476006/attachment-0001.html>


More information about the webkit-unassigned mailing list