Open Bug 1459536 Opened 2 years ago Updated 2 years ago

Record which fields of CSS animations / transitions have been overridden by script and ignore changes from style


(Core :: DOM: Animation, enhancement, P3)




Tracking Status
firefox61 --- affected


(Reporter: birtles, Unassigned)


(Blocks 2 open bugs)


After bug 1456394 lands, there will no longer be any *ReadOnly interfaces. So, what should happen if script modifies the properties attached to a CSSAnimation / CSSTransition?

This will ultimately need to be specced in css-animations-2 / css-transitions-2 but having discussed this with Apple and Google we agree that if you override a property from script, the script-set value should prevail. In future, we may add API to reset/detect this case but for now it doesn't appear to be necessary.

In this bug we should implement that behavior. Until we ship getAnimations() this behavior won't be shipped, however, so this doesn't need to be blocked on the spec work (although hopefully spec shouldn't be too far behind, and ideally ahead).
Priority: -- → P3
Blocks: 1460554
Depends on: 1466031
Depends on: 1467344
You need to log in before you can comment on or make changes to this bug.