VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1967104

⇱ 1967104 - Support light-dark for images.


Closed Bug 1967104 Opened 1 year ago Closed 1 year ago

Support light-dark for images.

Support light-dark for images.
Core
CSS Parsing and Computation
unspecified
Unspecified
Unspecified
defect
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
140 Branch
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Size Estimate
Webcompat Priority
Webcompat Score
Tracking Status
firefox140 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox140
firefox152
firefox153
firefox154
---
QA Whiteboard:
[qa-triage-done-c141/b140]
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
No description provided.

Remove the light-dark() pref while at it.

Assignee: nobody β†’ emilio
Status: NEW β†’ ASSIGNED

See https://github.com/w3c/csswg-drafts/issues/10577 for discussion on
this. I'm hoping this gets eventually standardized but if not we can
always undo this and use if() or what not once that's available.

For now add an internal WPT reftest.

An alternative would be to use the [brighttext] attribute and duplicate the
rules, I guess, but this is a bit nicer.

Comment 4

β€’
1 year ago
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/09eedd93d453 Factor out the light-dark() function. r=dshin

Comment 5

β€’
1 year ago
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/925b932a2489 Expand light-dark() to support images. r=dshin

Comment 6

β€’
1 year ago
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3ff313ac25e5 Use image light-dark() for titlebar icons. r=desktop-theme-reviewers,dao

Comment 8

β€’
1 year ago
Pushed by ctuns@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24567e11c597 Hackily fix SpecifiedValueInfo to fix test_bug877690.html.
See Also: β†’ 1967122

pref removed: layout.css.light-dark.enabled

Blocks: old-prefs
QA Whiteboard: [qa-triage-done-c141/b140]
Regressions: 1968922

Comment 11

β€’
1 year ago
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/dc1d1b61fecd https://hg.mozilla.org/integration/autoland/rev/143c604dcfaa Revert "Bug 1967104 - Use image light-dark() for titlebar icons. r=desktop-theme-reviewers,dao" for causing bug 1968922
Attachment #9488498 - Attachment is obsolete: true

Comment 13

β€’
1 year ago
Pushed by dmeehan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/463efcc82142 https://hg.mozilla.org/releases/mozilla-beta/rev/6c71d2edfd44 Revert "Bug 1967104 - Use image light-dark() for titlebar icons. r=desktop-theme-reviewers,dao" for causing bug 1968922

Updated

β€’
11 months ago
Regressions: 1973440
You need to log in before you can comment on or make changes to this bug.