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

RESOLVED FIXED in Future

Status

()

defect
P4
normal
RESOLVED FIXED
17 years ago
16 years ago

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Tracking

({testcase})

Trunk
Future
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

()

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

Comment 1

17 years ago
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
Last Resolved: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.