Closed Bug 1683026 Opened 5 years ago Closed 5 years ago

prefers-color-scheme media query fails with the RemoteLookAndFeel

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

VERIFIED FIXED
86 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 --- unaffected
firefox86 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

The RemoteLookAndFeel takes all of its values from the content-configured theme, which on Linux means a light theme variant (or if that doesn't exist, Adwaita) of the user's current theme. But we need SystemUsesDarkTheme (and UseAccessibilityTheme) to use the parent process theme values so that media queries involving them match correctly.

Summary: prefers-color-scheme media queries fails with the RemoteLookAndFeel → prefers-color-scheme media query fails with the RemoteLookAndFeel
Assignee: nobody → cam
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1470983

Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e26e68d6219 Don't use content configured theme values for SystemUsesDarkTheme and UseAccessibilityTheme. r=spohl
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch

Verified that this is fixed in the latest nightly (a few hours ago).

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: