fune/xpcom/ds
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
..
test Bug 1790816 - Reformat xpcom/ with isort. r=mccr8 DONTBUILD 2022-11-22 13:37:48 +00:00
tools Bug 1793463 - Part 3: Handle non-bytes keys more consistently in perfecthash, r=emilio 2022-12-01 15:43:18 +00:00
ArenaAllocator.h
ArenaAllocatorExtensions.h
ArrayAlgorithm.h
ArrayIterator.h
Atom.py
AtomArray.h
components.conf Bug 1789902 - Part 2: Use XPCOM static components instead of Services in Rust, r=xpcom-reviewers,necko-reviewers,barret,valentin 2022-09-13 13:47:13 +00:00
Dafsa.cpp
Dafsa.h
HTMLAtoms.py
IncrementalTokenizer.cpp
IncrementalTokenizer.h
moz.build Bug 1812753 - Move xpcom/ds/MruCache.h to mfbt/, r=glandium 2023-01-31 17:59:25 +00:00
nsArray.cpp
nsArray.h
nsArrayEnumerator.cpp
nsArrayEnumerator.h
nsArrayUtils.cpp
nsArrayUtils.h
nsAtom.h Bug 1823397, Add nsAutoAtom*String, r=emilio 2023-03-20 13:56:00 +00:00
nsAtomTable.cpp Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
nsAtomTable.h Bug 1800582 - Don't count atoms in the a11y cache r=Jamie 2022-11-16 09:55:27 +00:00
nsBaseHashtable.h
nsCharSeparatedTokenizer.cpp
nsCharSeparatedTokenizer.h
nsCheapSets.h
nsClassHashtable.h
nsCOMArray.cpp
nsCOMArray.h
nsCRT.cpp
nsCRT.h
nsDeque.cpp
nsDeque.h
nsEnumeratorUtils.cpp
nsEnumeratorUtils.h
nsExpirationTracker.h
nsGkAtoms.cpp
nsGkAtoms.h
nsHashKeys.h
nsHashPropertyBag.cpp
nsHashPropertyBag.h
nsHashtablesFwd.h
nsIArray.idl
nsIArrayExtensions.idl
nsIINIParser.idl Bug 1787121: add support for formatting INI files to nsINIParser r=xpcom-reviewers,kmag 2022-09-28 13:17:41 +00:00
nsIMutableArray.idl
nsINIParserImpl.cpp Bug 1787121: add support for formatting INI files to nsINIParser r=xpcom-reviewers,kmag 2022-09-28 13:17:41 +00:00
nsINIParserImpl.h
nsInterfaceHashtable.h
nsIObserver.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIObserverService.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIPersistentProperties.h
nsIPersistentProperties2.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIProperties.idl
nsIProperty.idl
nsIPropertyBag.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsIPropertyBag2.idl
nsISerializable.idl
nsISimpleEnumerator.idl
nsIStringEnumerator.idl Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich 2022-12-28 09:52:44 +00:00
nsISupportsIterators.idl
nsISupportsPrimitives.idl
nsIVariant.idl
nsIWindowsRegKey.idl
nsIWritablePropertyBag.idl
nsIWritablePropertyBag2.idl
nsMathUtils.h
nsObserverList.cpp
nsObserverList.h
nsObserverService.cpp
nsObserverService.h
nsPersistentProperties.cpp
nsPersistentProperties.h
nsPointerHashKeys.h
nsProperties.cpp
nsProperties.h
nsQuickSort.cpp
nsQuickSort.h
nsRefCountedHashtable.h
nsRefPtrHashtable.h
nsSimpleEnumerator.cpp
nsSimpleEnumerator.h
nsStaticAtomUtils.h
nsStaticNameTable.cpp
nsStaticNameTable.h
nsStringEnumerator.cpp
nsStringEnumerator.h
nsSupportsPrimitives.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
nsSupportsPrimitives.h
nsTArray-inl.h
nsTArray.cpp
nsTArray.h Bug 1800496 - Re-introduce ArrayView; r=asuth 2022-11-18 10:02:28 +00:00
nsTArrayForwardDeclare.h
nsTHashMap.h
nsTHashSet.h
nsTHashtable.h
nsTObserverArray.cpp
nsTObserverArray.h
nsTPriorityQueue.h
nsVariant.cpp Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot 2023-03-22 11:35:33 +00:00
nsVariant.h
nsWhitespaceTokenizer.h
nsWindowsRegKey.cpp
nsWindowsRegKey.h
Observer.h
PerfectHash.h
PLDHashTable.cpp
PLDHashTable.h
SimpleEnumerator.h
StaticAtoms.py Bug 1794628 - Implement inverted-colors media feature r=geckoview-reviewers,morgan,emilio,m_kato,cmartin 2023-04-11 13:34:00 +00:00
StickyTimeDuration.h Bug 1660405 - Move away from mozilla::IsInfinite in favor of std::isinf. r=nbp,media-playback-reviewers,alwu 2023-03-22 11:35:34 +00:00
Tokenizer.cpp
Tokenizer.h