Closed
Bug 351425
Opened 18 years ago
Closed 18 years ago
Tab focus ring color is hardcoded
Categories
(Firefox :: Tabbed Browser, defect, P2)
Tracking
()
RESOLVED
FIXED
Firefox 2
People
(Reporter: dao, Assigned: asaf)
References
Details
(Keywords: fixed1.8.1, Whiteboard: [Fx2 theme change])
Attachments
(2 files)
4.12 KB,
image/png
|
Details | |
791 bytes,
patch
|
mconnor
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060905 Minefield/3.0a1
Build Identifier:
... that's bad especially for high-contrast OS themes.
I suggest this change to global/browser.css:
> /* tabbrowser-tab focus ring */
> .tabbrowser-tab > .tab-image-middle > .tab-text {
>- border: 1px dotted transparent;
>+ border: 1px dotted;
> }
>
>-.tabbrowser-tab:focus > .tab-image-middle > .tab-text {
>- border: 1px dotted black;
>+.tabbrowser-tab:not(:focus) > .tab-image-middle > .tab-text {
>+ border-color: transparent;
> }
Reproducible: Always
Reporter | ||
Updated•18 years ago
|
Comment 1•18 years ago
|
||
Can you screenshot the effects this would have on "normal" and "high color" themes?
Reporter | ||
Comment 2•18 years ago
|
||
Comment 3•18 years ago
|
||
I assume that's with your proposed change, right? What about before it takes effect?
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•18 years ago
|
||
(In reply to comment #3) > What about before it takes effect? Well, border: 1px dotted black ... do you really need a screenshot for that?
Assignee | ||
Comment 5•18 years ago
|
||
Do we have a useful -moz color here, the logic is in reverse ;)
Assignee | ||
Comment 6•18 years ago
|
||
hrm, either ThreeDDarkShadow or -moz-DialogText.
Comment 7•18 years ago
|
||
(In reply to comment #6) > hrm, either ThreeDDarkShadow or -moz-DialogText. I'd assume DialogText... that's going to be visible for sure, whereas DarkShadow might be very hard to see in dark-background themes.
Assignee | ||
Comment 8•18 years ago
|
||
ThreeDDarkShadow is used for xul checkboxes for example, xfroms uses -moz-DialogText. On bracnh, we can simply use "invert", but we will need to revise this once the new theme lands on trunk (Cairo has no "invert" concept).
Reporter | ||
Comment 9•18 years ago
|
||
-moz-use-text-color?
Comment 10•18 years ago
|
||
Now that bug 350690 has landed, placing -moz-dialog behind all the tabs, using the color for dialog text would almost certainly work. But is there a reason we don't want to just use whatever sets the color of the tab titles? (Maybe that's dialog text too, I don't know.)
Reporter | ||
Comment 11•18 years ago
|
||
(In reply to comment #10) > Maybe that's dialog text too, I don't know. Yes, it is: http://lxr.mozilla.org/mozilla1.8/source/toolkit/themes/winstripe/global/tabbox.css#70
Comment 12•18 years ago
|
||
(In reply to comment #11) > (In reply to comment #10) > > Maybe that's dialog text too, I don't know. > > Yes, it is That seems like the way to go then... this would be a nice bit of High Contrast polish to take
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → bugs.mano
Priority: -- → P2
Target Milestone: --- → Firefox 2
Assignee | ||
Comment 13•18 years ago
|
||
Attachment #238099 -
Flags: review?(mconnor)
Attachment #238099 -
Flags: approval1.8.1?
Comment 14•18 years ago
|
||
Comment on attachment 238099 [details] [diff] [review] patch very low risk, very high benefit a11y fix to themes
Attachment #238099 -
Flags: review?(mconnor)
Attachment #238099 -
Flags: review+
Attachment #238099 -
Flags: approval1.8.1?
Attachment #238099 -
Flags: approval1.8.1+
Assignee | ||
Comment 15•18 years ago
|
||
1.8 branch: mozilla/toolkit/themes/winstripe/global/browser.css 1.9.4.31
You need to log in
before you can comment on or make changes to this bug.
Description
•