[Webkit-unassigned] [Bug 181242] New: Animation-duration doesn't evaluate changes to a CSS Custom Property via JavaScript in real time
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 3 06:40:06 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=181242
Bug ID: 181242
Summary: Animation-duration doesn't evaluate changes to a CSS
Custom Property via JavaScript in real time
Product: WebKit
Version: Safari Technology Preview
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: contact at benfrain.com
When specifying a `animation-duration` value as a CSS Custom Property, a change of that value via the JS API does not update the UI unless tabs/applications are switched.
Current behaviour:
The animation only updates when a user switches focus from Safari to something else and back
Expected behaviour:
The animation should 're-time' based upon the new value as it is updated.
Further information:
https://benfrain.com/can-css-custom-properties-update-animation-durations-on-the-fly/
Reduction:
https://codepen.io/benfrain/pen/LeRMvm
--
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/20180103/93fdab55/attachment.html>
More information about the webkit-unassigned
mailing list