Closed
Bug 1112715
Opened 10 years ago
Closed 10 years ago
--tab-hover-color variable in devedition theme causes "Property contained reference to invalid variable. Error in parsing value for 'color'. Falling back to 'inherit'."
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 37
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
(Whiteboard: [devedition-polish])
Attachments
(1 file, 2 obsolete files)
3.24 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
This variable is used but never defined: http://dxr.mozilla.org/mozilla-central/search?q=tab-hover-color&redirect=true.
Assignee | ||
Comment 1•10 years ago
|
||
This was a typo / oversight on my part
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Attachment #8539503 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 2•10 years ago
|
||
Instead just removing the variable reference as discussed on IRC. The color change isn't that obvious anyway so going to remove CSS instead of adding it.
Attachment #8539503 -
Attachment is obsolete: true
Attachment #8539503 -
Flags: review?(gijskruitbosch+bugs)
Attachment #8539514 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [devedition-polish]
Comment 3•10 years ago
|
||
Comment on attachment 8539514 [details] [diff] [review] undefined-var.patch Review of attachment 8539514 [details] [diff] [review]: ----------------------------------------------------------------- r+ assuming you've checked we don't end up losing a specificity fight somewhere and then use the default theme's hover color: .
Attachment #8539514 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #3) > Comment on attachment 8539514 [details] [diff] [review] > undefined-var.patch > > Review of attachment 8539514 [details] [diff] [review]: > ----------------------------------------------------------------- > > r+ assuming you've checked we don't end up losing a specificity fight > somewhere and then use the default theme's hover color: . That comment made me discover something interesting - the tab-color variable never actually applies due to this rule: http://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/tabs.inc.css#164. So the tab-color variable is pointless right now. We could either remove that as well, or use an !important on the usage here: http://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/devedition.inc.css#286.
Assignee | ||
Comment 5•10 years ago
|
||
Sorry for all the requests in a row. As I mention in Comment 4, the tab-color variable was never even being applied due to a more specific rule in the tabs.inc.css file. We may as well remove the code since it won't affect the UI and it should make things clearer.
Attachment #8539514 -
Attachment is obsolete: true
Attachment #8539534 -
Flags: review?(gijskruitbosch+bugs)
Comment 6•10 years ago
|
||
Comment on attachment 8539534 [details] [diff] [review] undefined-var.patch Review of attachment 8539534 [details] [diff] [review]: ----------------------------------------------------------------- r+ with a followup to design something sensible for the dark case as per IRC
Attachment #8539534 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/af571b8e561d
Whiteboard: [devedition-polish] → [fixed-in-fx-team][devedition-polish]
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/af571b8e561d
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team][devedition-polish] → [devedition-polish]
Target Milestone: --- → Firefox 37
You need to log in
before you can comment on or make changes to this bug.
Description
•