Closed
Bug 984170
Opened 11 years ago
Closed 11 years ago
Bookmarks have incorrect text colour on lightweight themes
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 31
People
(Reporter: MattN, Assigned: MattN)
References
Details
(Keywords: regression, Whiteboard: [Australis:P3])
Attachments
(3 files, 3 obsolete files)
330.22 KB,
image/png
|
Details | |
890 bytes,
patch
|
Gijs
:
review+
shorlander
:
ui-review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
MattN
:
checkin+
|
Details | Diff | Splinter Review |
208.15 KB,
image/png
|
Details |
This looks quite bad and affects anyone showing bookmark toolbar items (including if the items are in the nav-bar).
I believe this was regressed by bug 909349 because it significantly increased the specificity of a selector by adding a :not(#bookmarks-menu-button)[1] which adds 100 to the specificity.
Since the inherited colour would be black it's getting set to #222, the easy fix (A) would be to remove the color property from that ruleset. The difference is very subtle IMO and this would reduce future regressions.
Other fixes:
B) Add !important to https://mxr.mozilla.org/mozilla-central/source/browser/themes/osx/browser.css?rev=542bdf3f5191#35
C) Add a new rule for the bookmark items with LWT to fix the colour which makes this CSS more complex.
I vote for option A to simplify our styles (followed by B).
[1] http://hg.mozilla.org/mozilla-central/diff/ccbe695b5f40/browser/themes/osx/browser.css#l1.12
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8391955 -
Flags: ui-review?(shorlander)
Assignee | ||
Comment 2•11 years ago
|
||
I can barely see the difference
Assignee | ||
Updated•11 years ago
|
Attachment #8391955 -
Attachment description: Option A - Inherit color → Option A1 - Inherit color
Assignee | ||
Comment 3•11 years ago
|
||
Now that tab titles aren't bold on OS X (bug 979953), perhaps bookmarks shouldn't be either?
This patch removes the color and font-weight properties.
Attachment #8391959 -
Flags: ui-review?(shorlander)
Assignee | ||
Comment 4•11 years ago
|
||
Assignee | ||
Comment 5•11 years ago
|
||
This is more risky and I'd need to test it more
Updated•11 years ago
|
Attachment #8391955 -
Flags: review+
Comment 6•11 years ago
|
||
Comment on attachment 8391959 [details] [diff] [review]
Option A2 - Inherit color and font-weight
rs=me on either of these approaches as long as you get ui-review.
Attachment #8391959 -
Flags: review+
Comment 8•11 years ago
|
||
Comment on attachment 8391959 [details] [diff] [review]
Option A2 - Inherit color and font-weight
Review of attachment 8391959 [details] [diff] [review]:
-----------------------------------------------------------------
Option A2 works for me
Attachment #8391959 -
Flags: ui-review?(shorlander) → ui-review+
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 8391959 [details] [diff] [review]
Option A2 - Inherit color and font-weight
Hover screenshots:
LWT: http://grab.by/vdWq
no LWT: http://grab.by/vdWs
https://hg.mozilla.org/integration/fx-team/rev/1e326e9bcc1b
[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 909349
User impact if declined: Bookmarks on a toolbar are hard to read with dark text on a dark text shadow (see attachment 8391951 [details])
Testing completed (on m-c, etc.): Locally
Risk to taking this patch (and alternatives if risky): Low risk tiny styling change
String or IDL/UUID changes made by this patch: None
Attachment #8391959 -
Flags: checkin+
Attachment #8391959 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #8391955 -
Attachment is obsolete: true
Attachment #8391955 -
Flags: ui-review?(shorlander)
Assignee | ||
Updated•11 years ago
|
Attachment #8391969 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #8391957 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Comment 10•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 31
Assignee | ||
Comment 11•11 years ago
|
||
I will request beta approval after baking on Nightly then Aurora for some time
status-firefox31:
--- → fixed
Updated•11 years ago
|
tracking-firefox30:
--- → ?
tracking-firefox31:
--- → ?
Updated•11 years ago
|
tracking-firefox29:
--- → ?
tracking-firefox31:
? → ---
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8391959 [details] [diff] [review]
Option A2 - Inherit color and font-weight
[Beta Approval Request Comment]
See comment 9
Attachment #8391959 -
Flags: approval-mozilla-beta?
Updated•11 years ago
|
Comment 13•11 years ago
|
||
Comment on attachment 8391959 [details] [diff] [review]
Option A2 - Inherit color and font-weight
Approved for aurora.
How long do you want us to wait for the beta approval?
Attachment #8391959 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Flags: needinfo?(MattN+bmo)
Assignee | ||
Comment 15•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/80bf4cf39898
I think it's baked long enough on Nightly (I had expected the Aurora approval sooner).
Flags: needinfo?(MattN+bmo)
Updated•11 years ago
|
Attachment #8391959 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 16•11 years ago
|
||
Comment 17•11 years ago
|
||
Reproduced on Firefox 29.0b1. Verified as fixed on Firefox 29.0b2 using several of the "Most Popular" AMO themes on Mac OS X 10.8.5.
Comment 19•11 years ago
|
||
Cool. I no longer need the following lines in userChrome.css with 29.0b2:
toolbarbutton.bookmark-item:not(.subviewbutton):not(#bookmarks-menu-button),
#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
color: inherit !important;
font-weight: normal !important;
}
Status: RESOLVED → VERIFIED
Comment 20•11 years ago
|
||
I was able to confirm the fix for this issue on Mac OS X 10.9 [1], using:
* the latest Beta (Build ID: 20140505140302),
* Aurora 31 2014-05-06,
with the most popular themes.
[1] Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:30.0) Gecko/20100101 Firefox/30.0
You need to log in
before you can comment on or make changes to this bug.
Description
•