Closed
Bug 944719
Opened 11 years ago
Closed 11 years ago
color swatches do not update if you changed them
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 942297
People
(Reporter: sjw+bugzilla, Unassigned)
References
Details
Attachments
(1 file)
249 bytes,
text/html
|
Details |
If you change a color using the doorhanger from bug 889638, the swatches will not update when you select another element.
Comment 1•11 years ago
|
||
I was able to reproduce that problem with the provided testcase, indeed, the STR are:
- open the testcase
- select any of the 3 elements
- change the color in the rule-view using the color picker
- then select another element
=> the color swatch has the color you just picked, not the one defined for the element.
Comment 2•11 years ago
|
||
I just tested with colors defined via a CSS class rather than in the style attribute directly => No problem there. So it's something to do with the way we generate color swatches in the "element {}" part of the rule view.
Comment 3•11 years ago
|
||
One more test revealed that this has nothing to do with color swatches, in fact any modified style in the "element {...}" part will stay even if you select another element.
Also, the modification will survive page reloads: change the value of a declaration in the style attribute, and then press F5 with the toolbox still opened => the changed value is still there.
Comment 4•11 years ago
|
||
Brian, this seems to be the same bug you fixed a couple of weeks ago, although I couldn't find it.
Flags: needinfo?(bgrinstead)
Comment 5•11 years ago
|
||
(In reply to Patrick Brosset [:pbrosset] from comment #4)
> Brian, this seems to be the same bug you fixed a couple of weeks ago,
> although I couldn't find it.
It is Bug 942297, but I haven't fixed it.
Depends on: 942297
Flags: needinfo?(bgrinstead)
Comment 6•11 years ago
|
||
I confirm this is a dup of bug 942297.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•