Closed Bug 303491 Opened 19 years ago Closed 15 years ago

Groupbox underline is white directly under the caption

Categories

(Firefox :: Theme, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.6a1

People

(Reporter: jruderman, Assigned: dao)

References

Details

(Keywords: polish, Whiteboard: [polish-easy] [polish-visual][polish-p2])

Attachments

(4 files, 2 obsolete files)

Steps to reproduce:
1. Look at Preferences > Advanced > General.

Result: Each groupbox has a long underline under the caption.  The underline
turns white when it is directly under the caption but is a darker gray elsewhere.

Expected: dark gray underline all the way across (?)
Assignee: nobody → kevin
Attached image security prefs tab screenshot (obsolete) —
This seems to be fixed in the latest FF3 trunk.  However, on the Security tab the bottom of the groupbox line for "Warning Messages" is cut off.  See attached screenshot.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007082019 Minefield/3.0a8pre
This still happens, both Shiretoko and Minefield builds.

In the forums, Aronnax! (Grapple Themes )suggests:

> #paneAdvanced caption {
> border-bottom: 1px solid #e0e0e0;
> }
> would fix it.

> Superior would be something more global like :
> groupbox > caption {
> border-bottom: 1px solid #e0e0e0;
> }
> Which unfortunately not do the job. Do you have an idea?

http://forums.mozillazine.org/viewtopic.php?p=6564015#p6564015

Dão, can you have a look ?
I, unfortunately won't have time to dig deeper into this, atm.
Flags: wanted-firefox3.5?
Flags: blocking-firefox3.5?
This isn't going to block our release, but if someone submits a safe and tested patch and nominates it for approval, we can try to get it into this or a 3.5.x release.
Flags: wanted-firefox3.5?
Flags: blocking-firefox3.5?
Flags: blocking-firefox3.5-
Assignee: kevin → nobody
Component: Preferences → Theme
QA Contact: preferences → theme
Assignee: nobody → dao
Hardware: PowerPC → All
Attached patch patch (obsolete) — Splinter Review
What a mess. I couldn't resist doing some cleanup.
Attachment #277834 - Attachment is obsolete: true
Attachment #389364 - Flags: review?(mstange)
Comment on attachment 389364 [details] [diff] [review]
patch


> prefpane .groupbox-title {
>-  background: url("chrome://global/skin/50pct_transparent_grey.png") repeat-x bottom left;
>+  border-bottom: 1px solid rgba(50%,50%,50%,.5);

This has the side-effect that the first group box in the Content pane (#miscGroup) will get a line even though it doesn't have a caption. This didn't happen with the background style because .groupbox-title had a height of 0, so the background didn't show.
I think the border should be set on the caption, not on .groupbox-title. That would fix it.
Attachment #389364 - Flags: review?(mstange)
Comment on attachment 389364 [details] [diff] [review]
patch

The caption doesn't take the whole width, so without further changes that won't work either.
Attached patch patch v2Splinter Review
stupid image :(
Attachment #389364 - Attachment is obsolete: true
Attachment #389621 - Flags: review?(mstange)
(In reply to comment #8)
> (From update of attachment 389364 [details] [diff] [review])
> The caption doesn't take the whole width, so without further changes that won't
> work either.

Oh, yeah, good point. I think we should fix that in a followup bug.
Attachment #389621 - Flags: review?(mstange) → review+
Attached image after screenshot
Attachment #389637 - Flags: ui-review?(faaborg)
Keywords: polish
Whiteboard: [polish-easy] [polish-visual]
Attachment #389637 - Flags: ui-review?(faaborg) → ui-review+
Comment on attachment 389637 [details]
after screenshot

Looks much better than before.  Eventually we should be following the correct layout (labels on left, and controls on right), so that we don't need the lines at all.
http://hg.mozilla.org/mozilla-central/rev/e50cbaef1d8f
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.6a1
As mentioned in the previous comment, eventually this layout would removed our need to use not entirely native lines.
Whiteboard: [polish-easy] [polish-visual] → [polish-easy] [polish-visual][polish-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: