Closed
Bug 178668
Opened 22 years ago
Closed 22 years ago
css parser generates wrong hint when resetting property to be !important
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
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...
Assignee | ||
Updated•22 years ago
|
Comment 1•22 years ago
|
||
testcase provided in the url field .....
http://bugzilla.mozilla.org/attachment.cgi?id=104372&action=view
Keywords: testcase
Assignee | ||
Comment 2•22 years ago
|
||
The current nsCSSDeclaration data storage makes this kinda hard to fix... :(
Depends on: 125246
Priority: P3 → P4
Assignee | ||
Comment 3•22 years ago
|
||
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
Assignee | ||
Comment 4•22 years ago
|
||
Fixed by changes for bug 188803
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•