Closed Bug 192029 Opened 22 years ago Closed 22 years ago

[classic/aqua] Top border of tab contents adjoining active tab should be aqua blue

Categories

(SeaMonkey :: Themes, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4beta

People

(Reporter: samir_bugzilla, Assigned: shliang)

Details

(Keywords: platform-parity, polish, Whiteboard: [adt3])

Attachments

(3 files, 1 obsolete file)

Build: ------ 2003012903 Mac OS X Mach-o Steps to reproduce: ------------------- (1) Launch browser. (2) Open a few tabs (cmd-T). (3) Observer top border of paage content area immediately below tab bar. Actual results: --------------- Top border of tab (page) contents adjoining the tab bar is not blue, it's white. Expected results: ----------------- As discussed by Sairuh, Marlon, myself and others the top border should be blue. See Chimera's top border as a guide.
afaik, this is limited to the aqua/classic theme on OS X (not other platforms).
Keywords: pp
Summary: Top border of tab contents adjoining active tab should be aqua blue → [classic/aqua] Top border of tab contents adjoining active tab should be aqua blue
The pinstripe theme [1] gets this right so it appears to be a theme issue with the Mac OS X classic skin. Over to Shuehan for a look. _______________________ [1] <http://www.kmgerich.com/pinstripe/pinstripe.html>
Assignee: jaggernaut → shliang
Component: Tabbed Browser → Themes
QA Contact: pmac → gbush
Nav triage team: nsbeta1+/adt3
Keywords: nsbeta1nsbeta1+
Whiteboard: [adt3]
Target Milestone: --- → mozilla1.4beta
Pinstripe "appears" to get it right. I achived that look in the theme by adding a box below the tabs via GlobalBindings.xml and giving it a -moz-appearance: tabpanels style. I arrived at this hack because I couldn't find a way to expose the blue top border of the tabbrowser's tabpanel and have it be visible only when the tab strip is shown. My hack also causes an error to appear in the Javascript console. See <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=201196">Bug 201196</a>.
Attached patch patch (obsolete) — Splinter Review
Attachment #123024 - Flags: review?(jaggernaut)
While playing with the <browser> constructor (and breaking it from time to time) I noticed that the native theme drawing code actually draws the blue strip, but it draws it inside the content area, which then gets hidden by the actual content. Attaching screenshot. I'm wondering if we could do something like making the tabstrip's border be 0px, and then make the tabpanels' top margin and padding be -4px and 4 px respectively. Though, I don't like that hardcoded 4px. cc'ing bryner for ideas.
Comment on attachment 123024 [details] [diff] [review] patch wait that's not right...
Attachment #123024 - Attachment is obsolete: true
Remember the tabs can also be Graphite so a hardcoded blue bar might look silly. When trying to achive this effect for Pinstripe I found I could expose the tab panel's blue bar but I didn't figure out how to hide it when the tab strip was hidden.
Attached patch patchSplinter Review
Attached image screenshot
Attachment #123143 - Flags: superreview?(jaggernaut)
Attachment #123143 - Flags: review?(bryner)
Attachment #123024 - Flags: review?(jaggernaut)
Comment on attachment 123143 [details] [diff] [review] patch Talked to Shuehan, the 0px bottom padding and border can be removed from .tabbrowser-strip. sr=jag
Attachment #123143 - Flags: superreview?(jaggernaut) → superreview+
Comment on attachment 123143 [details] [diff] [review] patch r=varga
Attachment #123143 - Flags: review?(bryner) → review+
Comment on attachment 123143 [details] [diff] [review] patch assuming this is well tested, a=sspitzer
Attachment #123143 - Flags: approval1.4+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 183609 has been marked as a duplicate of this bug. ***
Does this also fix the testcase attachment 108278 [details] on bug 183609?
Looks like its time to dup my Bug 154404.
Turns out this fixed the tabbrowser bar, but not those of regular XUL tabboxes as described in my bug 183609. I reopened that bug.
verified build 2003051903
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: