Closed Bug 178668 Opened 22 years ago Closed 21 years ago

css parser generates wrong hint when resetting property to be !important

Categories

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

defect

Tracking

()

RESOLVED FIXED
Future

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

()

Details

(Keywords: testcase)

This is a spinoff from bug 173767.  The hint when going from "color: red" to
"color: red !important" is NONE, so no update (eg repaint) is done...
Priority: -- → P3
Target Milestone: --- → Future
testcase provided in the url field .....
http://bugzilla.mozilla.org/attachment.cgi?id=104372&action=view
Keywords: testcase
The current nsCSSDeclaration data storage makes this kinda hard to fix... :(
Depends on: 125246
Priority: P3 → P4
OK.  We now generate the right hint.... but we don't reresolve style on anything
because the assumption is that changes to a style rule's declaration don't
change what order rules apply in.

Bad assumption, when declarations get set to !important.... I suspect that the
easiest way to fix this bug is via bug 188803.
Depends on: 188803
Fixed by changes for bug 188803
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.