Open Bug 1111451 Opened 11 years ago Updated 3 years ago

some codepaths for recreating frames during style change don't start CSS transitions

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

References

Details

While writing testcases for bug 1110277, I found some deficiencies in the fix for bug 625289. In particular, there are a number of ways that frames can be recreated during style change processing for which we don't have a ReframingStyleContexts on the stack. We need to fix that to ensure that: (a) we have a ReframingStyleContexts on the stack, and (b) we process pending animation restyles after the frame creation. These codepaths include: - the direct call to ProcessRestyledFrames from RestyleTracker::ProcessOneRestyle - the calls to RecreatFramesForContent and MaybeRecreateFramesForElement from RestyleManager::RestyleElement. I think the best solution here involves a bit of refactoring.
Flags: needinfo?(bzbarsky)
In the revised approach to bug 1110277, I ended up fixing this in patch 6, but I still need to go back and add the tests that I initially didn't add because of this.
Assignee: dbaron → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.