Closed Bug 1871137 Opened 2 years ago Closed 2 years ago

bookmark_text using white color doesn't have text shadow anymore

Categories

(Firefox :: Theme, defect, P1)

Firefox 121
defect

Tracking

()

VERIFIED FIXED
123 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox121 --- wontfix
firefox122 --- verified
firefox123 --- verified

People

(Reporter: fizzwidget, Assigned: emilio)

References

(Regression)

Details

(Keywords: access, nightly-community, regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

Just using a theme with white text on the frame. For the test, I used "Have a fox dream" and "Furfox Tail Twister (light)"

Actual results:

Since Firefox 121, using a theme with "colors.tab_background_text: white" (or similar) doesn't render a text shadow for elements of bookmarks bar.

Expected results:

I think it should not change from the previous version (except if this a feature)

The Bugbug bot thinks this bug should belong to the 'Firefox::Theme' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Theme

Hello, thank you for the bug report!
Managed to reproduce this issue on:

  • Firefox Nightly 123.0a1;
  • Firefox 122.0b3;
  • Firefox 121.0;

Tested and reproduced on:

  • macOS 12;
  • Windows 10;
  • Ubuntu 22;

Setting as NEW so the developing team can have a look.

Status: UNCONFIRMED → NEW
Ever confirmed: true

:emilio, since you are the author of the regressor, bug 1861020, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

This comes from the windows version of toolbarbutton.css from before
bug 1861020, which had:

toolbarbutton:where([disabled="true"]) {
  color: GrayText;
  text-shadow: none;
}

@media not (prefers-contrast) {
  :root[lwtheme-image] toolbarbutton {
    text-shadow: none;
  }
}

:root[lwtheme-image] toolbarbutton:not([disabled="true"]) {
  text-shadow: inherit;
}

Which didn't make a lot of sense, but made the media-query block
basically useless.

It seems I noticed that:

:root[lwtheme-image] toolbarbutton:not([disabled="true"])

Was useless because of the disabled rule, but I didn't notice that that
would make the media block unexpectedly apply.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Status: ASSIGNED → NEW
Flags: needinfo?(emilio)
Severity: -- → S3
Keywords: access
Priority: -- → P1
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1ef003a39f1 Remove bogus rule from toolbarbutton.css. r=desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox122 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9370494 [details]
Bug 1871137 - Remove bogus rule from toolbarbutton.css. r=#theme

Beta/Release Uplift Approval Request

  • User impact if declined: Comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial CSS change
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9370494 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9370494 [details]
Bug 1871137 - Remove bogus rule from toolbarbutton.css. r=#theme

Approved for 122.0b5

Attachment #9370494 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Reproducible on Firefox 121.0 on Windows 10.
Verified as fixed on Firefox 122.0b5 and Firefox Nightly 123.0a1 on Windows 10, macOS 12, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: