Closed
Bug 1412071
Opened 7 years ago
Closed 7 years ago
JSON Viewer uses unset CSS variables
Categories
(DevTools :: JSON Viewer, defect)
Tracking
(firefox-esr52 unaffected, firefox56 wontfix, firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox56 | --- | wontfix |
firefox57 | --- | wontfix |
firefox58 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
(Keywords: regression)
Attachments
(1 file)
Some elements in JSON Viewer are styled with CSS variables that are never set. This shows lots of warnings when running tests, and it's so annoying. For example, http://searchfox.org/mozilla-central/rev/dd47bee6468de7e1221b4d006342ad6b9813d0e5/devtools/client/jsonview/css/toolbar.css#23 uses border: var(--toolbarbutton-border); But http://searchfox.org/mozilla-central/search?q=--toolbarbutton-border reveals that --toolbarbutton-border is not set anywhere. There are --toolbarbutton-border-color and --toolbarbutton-border-radius, but not --toolbarbutton-border.
Comment hidden (mozreview-request) |
Assignee | ||
Comment 2•7 years ago
|
||
So this is a regression from bug 1255116, which removed --toolbarbutton-border and added --toolbarbutton-border-color. The former was `1px solid transparent`, so I used `1px solid var(--toolbarbutton-border-color)`.
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8922475 [details] Bug 1412071 - Use --toolbarbutton-border-color instead of removed --toolbarbutton-border. https://reviewboard.mozilla.org/r/193550/#review200024 Yep, works for me. R+ Thanks for the patch! Honza
Attachment #8922475 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/f0fb92252106 Use --toolbarbutton-border-color instead of removed --toolbarbutton-border. r=Honza
Keywords: checkin-needed
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f0fb92252106
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•7 years ago
|
status-firefox56:
--- → wontfix
status-firefox57:
--- → wontfix
status-firefox-esr52:
--- → unaffected
Updated•7 years ago
|
Version: unspecified → 54 Branch
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•