Closed
Bug 612812
Opened 14 years ago
Closed 14 years ago
remove text shadows from tab text
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
FIXED
Firefox 4.0b8
People
(Reporter: jtd, Assigned: dao)
References
()
Details
Attachments
(1 file, 2 obsolete files)
888 bytes,
patch
|
shorlander
:
ui-review+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
Tab titles are currently rendered with a text-shadow. Especially in the case of inactive tabs where the background is darker, this leads to text that is blurry and tiring to read. In Firefox 4 we've switched to using DirectWrite by default. DirectWrite text rendering is much more subtle than Cleartype GDI rendering, so when a text shadow is placed on it the text tends to get washed out.
I would strongly recommend removing the text-shadow from tab title text.
Bug 594324 has a lot of background info related to this.
Reporter | ||
Updated•14 years ago
|
Reporter | ||
Comment 1•14 years ago
|
||
The first screenshot on this page also shows the problem:
https://wiki.mozilla.org/Firefox/Projects/New_Theme/Timeline
Note how the inactive tab "Bug 569255" looks washed out.
Assignee | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Assignee | ||
Comment 3•14 years ago
|
||
Assignee: nobody → dao
Status: NEW → ASSIGNED
Attachment #491164 -
Flags: ui-review?(shorlander)
Attachment #491164 -
Flags: review?(gavin.sharp)
Updated•14 years ago
|
Attachment #491164 -
Flags: review?(gavin.sharp) → review+
Comment 4•14 years ago
|
||
This is what I get when I apply the patch.
Looks like it might be inheriting a rule:
http://mxr.mozilla.org/mozilla-central/source/browser/themes/winstripe/browser/browser-aero.css#117
Assignee | ||
Comment 5•14 years ago
|
||
Indeed, I thought we already prevented the text shadow from being inherited, but we intentionally don't do that for personas.
Attachment #491164 -
Attachment is obsolete: true
Attachment #491671 -
Attachment is obsolete: true
Attachment #491697 -
Flags: ui-review?(shorlander)
Attachment #491164 -
Flags: ui-review?(shorlander)
Comment 6•14 years ago
|
||
Comment on attachment 491697 [details] [diff] [review]
patch v2
Looks good!
Attachment #491697 -
Flags: ui-review?(shorlander) → ui-review+
Assignee | ||
Updated•14 years ago
|
Attachment #491697 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #491697 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 7•14 years ago
|
||
Status: ASSIGNED → RESOLVED
blocking2.0: ? → ---
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b8
Reporter | ||
Comment 8•14 years ago
|
||
Awesome, thanks Dão!
Hmm, browser.css still has this:
#toolbar-menubar:not(:-moz-lwtheme),
#TabsToolbar[tabsontop="true"]:not(:-moz-lwtheme),
#navigator-toolbox[tabsontop="false"] > #nav-bar:not(:-moz-lwtheme),
#nav-bar + #customToolbars + #PersonalToolbar[collapsed="true"] + #TabsToolbar[tabsontop="false"]:last-child:not(:-moz-lwtheme) {
background: transparent !important;
color: black;
text-shadow: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255,255,255,.4);
}
So active tab titles still have shadows.
The appmenu button also has
#appmenu-button {
-moz-appearance: none;
background: -moz-linear-gradient(rgb(247,182,82), rgb(215,98,10) 95%);
background-clip: padding-box;
border-radius: 0 0 4px 4px;
border: 1px solid rgba(83,42,6,.9);
border-top: none;
box-shadow: 0 1px 0 rgba(255,255,255,.25) inset,
0 0 0 1px rgba(255,255,255,.25) inset;
color: white;
text-shadow: 0 0 1px rgba(0,0,0,.7),
0 1px 1.5px rgba(0,0,0,.5);
So it has a shadow.
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9)
> So active tab titles still have shadows.
I'll file a new bug on this.
> The appmenu button also has [...] So it has a shadow.
Yeah, it's supposed to have a shadow.
OK thanks, I just need to know which display list optimizations we're going to need for the long term :-)
You need to log in
before you can comment on or make changes to this bug.
Description
•