Closed Bug 1552780 Opened 6 years ago Closed 6 years ago

Abuse report panel should have a semi-transparent grey background

Categories

(Toolkit :: Add-ons Manager, defect)

68 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla69
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox68 --- verified
firefox69 --- verified

People

(Reporter: rpl, Assigned: robwu)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

In Bug 1551202 have been applied changes to the abuse report panel and HTML about:addons CSS rules to improve their "dark theme" look.

One of the changes applied is related to the "abuse report panel"'s .modal-overlay-outer element, changed from background: rgba(12, 12, 13, 0.6); to background: var(--grey-90-a60);.

Unfortunately the --grey-90-a60 CSS variable doesn't seem to be part of the grey colors defined in common.inc.css and so the modal background color have been regressed in Bug 1551202 (in particular by the changes applied in 2519b62544) and it is not currently being set (because the variable referenced does not exist).

Surprisingly, this was not caught by browser/base/content/test/static/browser_parsable_css.js. Possibly because the test evaluates all style sheets at once, and the variable is defined in devtools/client/aboutdebugging-new/src/base.css.

We should add the color definition after https://searchfox.org/mozilla-central/rev/f4c39907e0b527dc4b9356a1eeb8c6e6c62d383a/toolkit/themes/shared/in-content/common.inc.css#74

Assignee: nobody → rob
Status: NEW → ASSIGNED
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/b5656f335316 Add missing --grey-90-a60 variable r=jaws
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
No longer blocks: 1551202
Regressed by: 1551202

Please request beta uplift when you get a chance.

Flags: needinfo?(rob)

Comment on attachment 9066678 [details]
Bug 1552780 - Add missing --grey-90-a60 variable

Beta/Release Uplift Approval Request

  • User impact if declined: When extensions.abuseReport.enabled and extensions.htmlaboutaddons.enabled are true, the background of the Report Abuse panel is not clearly distinguishable.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Simple one-line change for a new feature in Fx68 - bug 1543377
  • String changes made/needed: none
Flags: needinfo?(rob)
Attachment #9066678 - Flags: approval-mozilla-beta?

Comment on attachment 9066678 [details]
Bug 1552780 - Add missing --grey-90-a60 variable

add missing color to css, approved for 68.0b6

Attachment #9066678 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attached image Bug1552780.png

I can reproduce this issue on Firefox 69.0a1 (20190524214959) under Wind 7 64-bit.

This issue is verified as fixed on Firefox 69.0a1 (20190529215251) and 68.0b6 (20190529145824) under Win 7 64-bit and Mac OS X 10.14.1.

Please see the attached screenshot.

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: