Closed
Bug 1195349
Opened 9 years ago
Closed 9 years ago
make css-color.js preserve case
Categories
(DevTools :: Inspector, defect)
DevTools
Inspector
Tracking
(firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: tromey, Assigned: tromey)
References
Details
Attachments
(1 file, 2 obsolete files)
8.11 KB,
patch
|
tromey
:
review+
|
Details | Diff | Splinter Review |
While working on the as-authored project, I noticed that css-color.js might not preserve the case of the input text. I think it should.
Assignee | ||
Comment 1•9 years ago
|
||
This patch also adds classifyColor, which is used subsequently in the as-authored series.
Assignee | ||
Updated•9 years ago
|
Attachment #8648758 -
Flags: review?(pbrosset)
Comment 2•9 years ago
|
||
Comment on attachment 8648758 [details] [diff] [review] make css-color preserve original text; add classifyColor Review of attachment 8648758 [details] [diff] [review]: ----------------------------------------------------------------- LGTM ::: toolkit/devtools/css-color.js @@ +259,5 @@ > * @param {String} color > * Any valid color string > */ > newColor: function(color) { > + this.lowerCased = color.toLowerCase(); This requires a short comment I think. Maybe: // Store the lowerCased version of this color to help with color format testing later. The actual authored text is also kept so it can be returned when needed.
Attachment #8648758 -
Flags: review?(pbrosset) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Updated per review.
Attachment #8648758 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8649491 -
Flags: review+
Assignee | ||
Comment 4•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a8369184e9de
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 6•9 years ago
|
||
Backed out for test_cssColor.js failures. https://treeherder.mozilla.org/logviewer.html#?job_id=4451974&repo=fx-team https://hg.mozilla.org/integration/fx-team/rev/810257543b7c
Assignee | ||
Comment 7•9 years ago
|
||
Don't redefine "loader" in the test.
Attachment #8649491 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c02daee1dbaf
Assignee | ||
Updated•9 years ago
|
Attachment #8655448 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/326daa2650c3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•