Closed Bug 1643656 Opened 4 years ago Closed 4 years ago

[mediaqueries-5] Remove prefers-color-scheme: no-preference.

Categories

(Core :: CSS Parsing and Computation, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: emilio)

References

Details

(Keywords: dev-doc-complete, site-compat)

Attachments

(2 files)

Resolutions were made for csswg-drafts/#3857.

[mediaqueries-5] UA guidance on light vs no-preference

  • RESOLVED: Remove the no-preference value
  • RESOLVED: Add a note that no-preference used to exist but was removed due to lack of impl

Discussion.

Type: defect → task
Depends on: 1643934
Priority: -- → P3
Summary: [mediaqueries-5] UA guidance on light vs no-preference → [mediaqueries-5] Remove prefers-color-scheme: no-preference.

It was removed from the spec. Bug 1643934 updates the WPT tests.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Keywords: site-compat
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bca9f7459a16
Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo

Though probably not blocked by this bug, https://bugzilla.mozilla.org/show_bug.cgi?id=1642366 removes the no-preference value from devtools as well.

So as to not use a pref with an invalid value, which I would've changed
the behavior of with the previous patch.

Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/245776c0b467
Fix GeckoRuntimeSettings color scheme configuration. r=geckoview-reviewers,snorp

I'll land the second patch. The first one still needs bug 1643934 to land. I saw an wpt-sync fly by and I didn't realize that wasn't part of it.

Flags: needinfo?(emilio)
Keywords: leave-open

Emilio: prefers-color-scheme is broken in Fenix (https://github.com/mozilla-mobile/fenix/issues/11556).

Working: AC 45.0.20200610130052 with GV 79.0a1-20200609092134
Not working: AC 45.0.20200612130101 with GV 79.0a1-20200611093454

And your patch landed between these two versions. Could it be that your patch caused the problem?

Flags: needinfo?(emilio)

It seems possible, can you point me to how is A-C using GeckoRuntimeSettings?

Flags: needinfo?(emilio) → needinfo?(soeren.hentzschel)
Flags: needinfo?(soeren.hentzschel)
Attachment #9155155 - Attachment description: Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl!,#style! → Bug 1643656 - Remove prefers-color-scheme: no-preference.
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/52126fd9ffdf
Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Regressions: 1645770

(In reply to Sören Hentzschel from comment #12)

But I don't really know the implementation. So maybe better ask one of the developers. 😅

I took a look this morning, bug 1645770 fixes it.

Posted a site compatibility note for the change.

Target Milestone: --- → mozilla79

I've documented this removal; see https://github.com/mdn/sprints/issues/3424#issuecomment-652649191 for the full details.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: