Closed Bug 728127 Opened 14 years ago Closed 14 years ago

use GetComputedStyle carefully

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: surkov, Assigned: surkov)

References

Details

(Keywords: access)

rationally in bug 714579 comment 10: getComputedStyle on an element in document D can lead to destruction of any presshell in the document tree containing document D. that means getComputedStyle can destroy whole document accessible and if we are calling this method internally then we get into trouble. We can't check all code paths where getComputedStyle is used and add IsDefunct checks so we need to switch to non-flush version (general bug 728126). Now we're going to borrow layout code to make this (approach from bug 714579).
Depends on: 727735
Depends on: 728907
Depends on: 731276
Depends on: 731287
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Depends on: 735228
You need to log in before you can comment on or make changes to this bug.