Closed
Bug 251589
Opened 21 years ago
Closed 21 years ago
XUL tab focus indication should appear inside the tab
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: aaronlev)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(3 files, 4 obsolete files)
|
3.74 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
|
4.77 KB,
patch
|
aaronlev
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
|
3.74 KB,
image/gif
|
Details |
When XUL tabs get focused (they do as of bug 175893) the focus outline is
currently appearing outside of the tab (because of fix for bug 151375). It
should appear inside.
| Assignee | ||
Comment 1•21 years ago
|
||
| Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 153312 [details] [diff] [review]
Use hbox to surround tab's anonymous image and label, put outline on that
Will need similar patch for seamonkey.
Attachment #153312 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153312 -
Flags: review?(mconnor)
Comment 3•21 years ago
|
||
Comment on attachment 153312 [details] [diff] [review]
Use hbox to surround tab's anonymous image and label, put outline on that
r=me, no sr needed
Attachment #153312 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153312 -
Flags: review?(mconnor)
Attachment #153312 -
Flags: review+
| Assignee | ||
Comment 4•21 years ago
|
||
Fixed for Firefox, will leave open for Seamonkey work.
Checking in content/widgets/tabbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbox.xml,v <-- tabbox.xml
new revision: 1.12; previous revision: 1.11
done
Checking in themes/qute/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/qute/global/tabbox.css,v <-- tabbox.css
new revision: 1.4; previous revision: 1.3
done
Checking in themes/winstripe/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/tabbox.css,v <-- tabbox.css
new revision: 1.4; previous revision: 1.3
done
| Assignee | ||
Comment 5•21 years ago
|
||
Rechecked in, leaving open for Seamonkey work.
Checking in content/widgets/tabbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbox.xml,v <-- tabbox.xml
new revision: 1.14; previous revision: 1.13
done
Checking in themes/qute/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/qute/global/tabbox.css,v <-- tabbox.css
new revision: 1.6; previous revision: 1.5
done
Checking in themes/winstripe/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/tabbox.css,v <-- tabbox.css
new revision: 1.6; previous revision: 1.5
done
| Assignee | ||
Comment 6•21 years ago
|
||
| Assignee | ||
Updated•21 years ago
|
Attachment #153423 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153423 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 7•21 years ago
|
||
Comment on attachment 153423 [details] [diff] [review]
Same fix for Seamonkey
You need class="box-inherit" and various xbl:inherits in case someone wants to
e.g. swap the text and icon. See button.xml for example. Have you tried Venkman
with this patch? I think you might need to adjust the display of its little
tabs. You should also try to use a unique class rather than a generic tag for
your style rules. Can you explain why you might possibly need that min-width?
Finally r+sr is a layout convenience, it does not apply to xpfe, until jag et
al decide that it does.
Attachment #153423 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #153423 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #153423 -
Flags: review-
Comment 8•21 years ago
|
||
http://lxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/browser.css#33
needs to be patched to work with the added hbox.
| Assignee | ||
Comment 9•21 years ago
|
||
Comment on attachment 153423 [details] [diff] [review]
Same fix for Seamonkey
> You need class="box-inherit" and various xbl:inherits in case someone wants
> to e.g. swap the text and icon.
Done.
> Have you tried Venkman with this patch?
The tabs look fine in Venkman, although they are not focusable.
> You should also try to use a unique class rather than a generic tag for
> your style rules.
Done
> Can you explain why you might possibly need that min-width?
Otherwise the tabs ended up very wide. I looked around in other parts of
tabbrowser.xml and saw similar min-width lines. What's a better way?
| Assignee | ||
Updated•21 years ago
|
Attachment #153423 -
Attachment is obsolete: true
| Assignee | ||
Updated•21 years ago
|
Attachment #154022 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #154022 -
Flags: review?(sdwalker)
Comment 10•21 years ago
|
||
Comment on attachment 154022 [details] [diff] [review]
Addresses some of Neil's comments. Questions on others.
Should't the tabbox rules that were added earlier be using .tab-middle instead
of hbox? The classic/global/win/tabbox.css change should be added/updated as
well.
I'm assuming you meant the toolkit change to be added to the tab instead of
tabs-closebutton.
Attachment #154022 -
Flags: review?(sdwalker) → review-
| Assignee | ||
Comment 11•21 years ago
|
||
Attachment #154022 -
Attachment is obsolete: true
| Assignee | ||
Updated•21 years ago
|
Attachment #154093 -
Flags: review?(sdwalker)
| Assignee | ||
Comment 12•21 years ago
|
||
min-width wasn't necessary after all, but flex="1" is necessary.
| Assignee | ||
Updated•21 years ago
|
Attachment #154093 -
Attachment is obsolete: true
| Assignee | ||
Updated•21 years ago
|
Attachment #154093 -
Flags: review?(sdwalker)
| Assignee | ||
Updated•21 years ago
|
Attachment #154022 -
Flags: superreview?(neil.parkwaycc.co.uk)
| Assignee | ||
Updated•21 years ago
|
Attachment #154094 -
Flags: review?(sdwalker)
Comment 13•21 years ago
|
||
Comment on attachment 154094 [details] [diff] [review]
Removes min-width
r=me, minus the tabbrowser.xml changes which look to be for bug 175893, if the
tab:focus rules lose the unnecessary > hbox.
Attachment #154094 -
Flags: review?(sdwalker) → review+
| Assignee | ||
Updated•21 years ago
|
Attachment #154094 -
Flags: superreview?(neil.parkwaycc.co.uk)
| Assignee | ||
Comment 14•21 years ago
|
||
Attachment #154094 -
Attachment is obsolete: true
| Assignee | ||
Updated•21 years ago
|
Attachment #154094 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #154094 -
Flags: review+
| Assignee | ||
Comment 15•21 years ago
|
||
Comment on attachment 154221 [details] [diff] [review]
Patch with sdwalker's corrections
Carrying sdwalker's r= forward
Attachment #154221 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #154221 -
Flags: review+
Comment 16•21 years ago
|
||
Comment 17•21 years ago
|
||
Comment on attachment 154221 [details] [diff] [review]
Patch with sdwalker's corrections
sr=me if you ensure that someone has filed a bug to make linux tabs less ugly
in general.
Attachment #154221 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
| Assignee | ||
Comment 18•21 years ago
|
||
Checking in toolkit/content/widgets/tabbox.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbox.xml,v <-- tabbox.xml
new revision: 1.15; previous revision: 1.14
done
Checking in xpfe/global/resources/content/bindings/tabbox.xml;
/cvsroot/mozilla/xpfe/global/resources/content/bindings/tabbox.xml,v <--
tabbox.xml
new revision: 1.32; previous revision: 1.31
done
Checking in themes/classic/global/win/tabbox.css;
/cvsroot/mozilla/themes/classic/global/win/tabbox.css,v <-- tabbox.css
new revision: 1.13; previous revision: 1.12
done
Checking in toolkit/themes/qute/global/browser.css;
/cvsroot/mozilla/toolkit/themes/qute/global/browser.css,v <-- browser.css
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/themes/qute/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/qute/global/tabbox.css,v <-- tabbox.css
new revision: 1.7; previous revision: 1.6
done
Checking in toolkit/themes/winstripe/global/browser.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/browser.css,v <-- browser.css
new revision: 1.3; previous revision: 1.2
done
Checking in toolkit/themes/winstripe/global/tabbox.css;
/cvsroot/mozilla/toolkit/themes/winstripe/global/tabbox.css,v <-- tabbox.css
new revision: 1.7; previous revision: 1.6
done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•