зеркало из https://github.com/mozilla/gecko-dev.git
2d520652e0
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 |
||
---|---|---|
.. | ||
tests | ||
HeadlessClipboard.cpp | ||
HeadlessClipboard.h | ||
HeadlessClipboardData.cpp | ||
HeadlessClipboardData.h | ||
HeadlessCompositorWidget.cpp | ||
HeadlessCompositorWidget.h | ||
HeadlessKeyBindings.cpp | ||
HeadlessKeyBindings.h | ||
HeadlessKeyBindingsCocoa.mm | ||
HeadlessLookAndFeel.h | ||
HeadlessLookAndFeelGTK.cpp | ||
HeadlessScreenHelper.cpp | ||
HeadlessScreenHelper.h | ||
HeadlessSound.cpp | ||
HeadlessSound.h | ||
HeadlessWidget.cpp | ||
HeadlessWidget.h | ||
HeadlessWidgetTypes.ipdlh | ||
moz.build |