Closed Bug 1307341 Opened 9 years ago Closed 7 years ago

Setting non-animated property should not request restyle for throttled animations

Categories

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

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: hiro, Unassigned)

Details

Attachments

(1 file)

In bug 1304922 comment 71, Brian noticed me that we have a case that we request a restyle when we have an opacity animation and no transform animation but have an !important transform rule and then remove the important rules like this; div.animate({ opacity: [0, 1] }, 10000); div.style.setProperty('transform', 'none', 'important'); after a while div.style.setProperty('transform', 'translateX(100px)', '');
It turns out that we request restyle even when we set non animated style to the element which has throttled animations like this; div.animate({ opacity: [0, 1] }, 1000); div.style.color = 'red';
Summary: Changing cascade results for transform property should not request restyle for opacity animations running on the compositor → Setting non-animated property should not request restyle for throttled animations
Priority: -- → P3
Closing since this bug is specific for the old style system.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: