Closed Bug 173772 Opened 23 years ago Closed 22 years ago

setPropertyValue("foo", "bar", "important") has issues for non-inline style

Categories

(Core :: CSS Parsing and Computation, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: bzbarsky, Assigned: dbaron)

References

()

Details

(Keywords: testcase)

See the testcase at the url. The first line will be fixed by bug 173767. The second line is due to the fact that we dynamically create the mImportantRule in that case. Which means that just clearing out style data is not good enough; we need to re-resolve style contexts for matching elements, since they are now in a different position in the ruletree. Perhaps the dynamic mImportantRule creation should fire StyleRuleAdded or something evil like that?
Depends on: 173767
Keywords: testcase
Priority: -- → P3
Status: NEW → ASSIGNED
Priority: P3 → P2
Target Milestone: --- → Future
This got fixed by the change in bug 188803
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.