Closed Bug 1208193 Opened 9 years ago Closed 9 years ago

Port Bug 1190462 [(Windows 10) Invisible tabs with "High Contrast White" system theme]

Categories

(Thunderbird :: Theme, defect)

All
Windows 10
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 44.0

People

(Reporter: Paenglab, Assigned: Paenglab)

Details

Attachments

(1 file, 1 obsolete file)

The actual implementation makes the tabs invisible with "High Contrast White" system theme (white tabs without border on white titlebar).

This bug is to port the FX changes to TB.
Attached patch HC-whiteFix.patch (obsolete) — Splinter Review
This patch adapts the FX implementation.

In mailWindow1.css i removed also a (-moz-windows-default-theme) in one media query which was wrongly introduced with a -aero removal bug.
Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Attachment #8665584 - Flags: review?(clokep)
Comment on attachment 8665584 [details] [diff] [review]
HC-whiteFix.patch

Review of attachment 8665584 [details] [diff] [review]:
-----------------------------------------------------------------

::: mail/themes/windows/mail/tabmail.css
@@ +144,5 @@
> +
> +    .tab-background-middle[selected=true] {
> +      /* Setting background-size to "0 0" for the first
> +      background-image to remove the stroke. */
> +      background-size: 0 0, auto 100%, auto 100%;

I don't know this code well, but in Firefox, we use --tab-stroke-background-size to control the first background-size, so I'm not sure why this + --tab-stroke-background-size: 0; is needed.
(In reply to Tim Nguyen [:ntim] from comment #2)
> Comment on attachment 8665584 [details] [diff] [review]
> HC-whiteFix.patch
> 
> Review of attachment 8665584 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> ::: mail/themes/windows/mail/tabmail.css
> @@ +144,5 @@
> > +
> > +    .tab-background-middle[selected=true] {
> > +      /* Setting background-size to "0 0" for the first
> > +      background-image to remove the stroke. */
> > +      background-size: 0 0, auto 100%, auto 100%;
> 
> I don't know this code well, but in Firefox, we use
> --tab-stroke-background-size to control the first background-size, so I'm
> not sure why this + --tab-stroke-background-size: 0; is needed.

Thank you for this hint. This block is redundant because above --tab-stroke-background-size: 0 0; is set.
Attachment #8665584 - Attachment is obsolete: true
Attachment #8665584 - Flags: review?(clokep)
Attachment #8665945 - Flags: review?(clokep)
Attachment #8665945 - Flags: review?(clokep) → review+
Thank you.
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/cd279df7194dba9a428b463c8f03584bf281d5f0
Bug 1208193 - Port Bug 1190462 [(Windows 10) Invisible tabs with "High Contrast White" system theme]. r=clokep
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 44.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: