Note: There are a few cases of duplicates in user autocompletion which are being worked on.

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

RESOLVED FIXED in Future

Status

()

Core
CSS Parsing and Computation
P4
normal
RESOLVED FIXED
15 years ago
14 years ago

People

(Reporter: bz, Assigned: bz)

Tracking

({testcase})

Trunk
Future
testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Assignee)

Description

15 years ago
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

15 years ago
Priority: -- → P3
Target Milestone: --- → Future

Comment 1

15 years ago
testcase provided in the url field .....
http://bugzilla.mozilla.org/attachment.cgi?id=104372&action=view
Keywords: testcase
(Assignee)

Comment 2

15 years ago
The current nsCSSDeclaration data storage makes this kinda hard to fix... :(
Depends on: 125246
Priority: P3 → P4
(Assignee)

Comment 3

14 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

14 years ago
Fixed by changes for bug 188803
Status: NEW → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.