Closed
Bug 927367
Opened 11 years ago
Closed 9 years ago
domUtils.getCSSValuesForProperty() does not return "currentcolor" in autocomplete values
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: miker, Unassigned)
References
(Blocks 1 open bug)
Details
getCSSValuesForProperty() fails to return "currentcolor" in autocomplete values. const DOMUtils = Cc["@mozilla.org/inspector/dom-utils;1"].getService(Ci.inIDOMUtils); DOMUtils.getCSSValuesForProperty("color").indexOf("currentcolor"); // returns -1
Comment 1•10 years ago
|
||
Similarly with everything else from nsCSSProps::kColorKTable, including system colors (ActiveBorder, ActiveCaption, etc.).
Comment 2•9 years ago
|
||
I discussed this on irc with Patrick and we concluded that we don't want to expose system colors via completion. (currentColor was added separately in bug 1201136.) So, I'm WONTFIXING this bug on this basis. If there is some other use for exposing system colors via domutils, please reopen the bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•