gecko-dev/widget/headless
CanadaHonk 2d520652e0 Bug 1794628 - Implement inverted-colors media feature r=geckoview-reviewers,morgan,emilio,m_kato,cmartin
Implemented the inverted-colors media feature from Media Queries Level 5
for all platforms.
Spec: https://drafts.csswg.org/mediaqueries-5/#inverted

Platform specific implementations:
- Windows: Checks system color filter setting, and if it is inverted
  (note: Windows does not live update due to having to read a reg key)
- Mac: Checks dedicated inverted accessibility system setting
- Android: Checks dedicated inverted system setting
- Linux: No GTK API exposes anything like it so always none

Locked behind new pref `layout.css.inverted-colors.enabled`,
always off by default for now.

Also added new WPT tests (none previously).

Other browsers:
- WebKit: shipped since Safari 9.1 (Jan 2017)
- Blink: no signal

Test page: https://goose.icu/inverted-colors

Differential Revision: https://phabricator.services.mozilla.com/D173201
2023-04-11 13:34:00 +00:00
..
tests Bug 1810141 - fix tests to deal with changes to loadURI, r=mossop,perftest-reviewers,geckoview-reviewers,extension-reviewers,sparky,owlish 2023-02-13 23:50:41 +00:00
HeadlessClipboard.cpp Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato 2023-02-01 23:30:55 +00:00
HeadlessClipboard.h
HeadlessClipboardData.cpp
HeadlessClipboardData.h
HeadlessCompositorWidget.cpp Bug 1807000 - Use a DataMutex in HeadlessCompositorWidget. r=gfx-reviewers,nical 2023-01-05 15:53:53 +00:00
HeadlessCompositorWidget.h Bug 1807000 - Use a DataMutex in HeadlessCompositorWidget. r=gfx-reviewers,nical 2023-01-05 15:53:53 +00:00
HeadlessKeyBindings.cpp
HeadlessKeyBindings.h
HeadlessKeyBindingsCocoa.mm
HeadlessLookAndFeel.h
HeadlessLookAndFeelGTK.cpp Bug 1794628 - Implement inverted-colors media feature r=geckoview-reviewers,morgan,emilio,m_kato,cmartin 2023-04-11 13:34:00 +00:00
HeadlessScreenHelper.cpp
HeadlessScreenHelper.h
HeadlessSound.cpp
HeadlessSound.h
HeadlessWidget.cpp Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00
HeadlessWidget.h Bug 1816139 - In HeadlessWidget don't by default focus alwaysontop windows. r=karlt 2023-02-20 08:05:08 +00:00
HeadlessWidgetTypes.ipdlh
moz.build Bug 1825324 - Make widget/* buildable outside of a unified build environment r=andi,geckoview-reviewers,m_kato 2023-04-01 08:31:12 +00:00