Tests that CSS media features can be overridden.
matchMedia("(prefers-color-scheme: __invalid__)").matches: false
matchMedia("(prefers-color-scheme: __invalid__)").matches applied: light
matchMedia("(prefers-color-scheme: no-preference)").matches: false
matchMedia("(prefers-color-scheme: no-preference)").matches applied: light
matchMedia("(prefers-color-scheme: light)").matches: true
matchMedia("(prefers-color-scheme: light)").matches applied: light
matchMedia("(prefers-color-scheme: dark)").matches: true
matchMedia("(prefers-color-scheme: dark)").matches applied: dark
matchMedia("(prefers-color-scheme: __invalid__)").matches: false
matchMedia("(prefers-color-scheme: __invalid__)").matches applied: light
matchMedia("(prefers-reduced-motion: __invalid__)").matches: false
matchMedia("(prefers-reduced-motion: __invalid__)").matches applied: no-preference
matchMedia("(prefers-reduced-motion: no-preference)").matches: true
matchMedia("(prefers-reduced-motion: no-preference)").matches applied: no-preference
matchMedia("(prefers-reduced-motion: reduce)").matches: true
matchMedia("(prefers-reduced-motion: reduce)").matches applied: reduce
matchMedia("(prefers-reduced-motion: __invalid__)").matches: false
matchMedia("(prefers-reduced-motion: __invalid__)").matches applied: no-preference
matchMedia("(prefers-reduced-data: __invalid__)").matches: false
matchMedia("(prefers-reduced-data: __invalid__)").matches applied: no-preference
matchMedia("(prefers-reduced-data: no-preference)").matches: true
matchMedia("(prefers-reduced-data: no-preference)").matches applied: no-preference
matchMedia("(prefers-reduced-data: reduce)").matches: true
matchMedia("(prefers-reduced-data: reduce)").matches applied: reduce
matchMedia("(prefers-reduced-data: __invalid__)").matches: false
matchMedia("(prefers-reduced-data: __invalid__)").matches applied: no-preference
matchMedia("(prefers-reduced-transparency: __invalid__)").matches: false
matchMedia("(prefers-reduced-transparency: __invalid__)").matches applied: no-preference
matchMedia("(prefers-reduced-transparency: no-preference)").matches: true
matchMedia("(prefers-reduced-transparency: no-preference)").matches applied: no-preference
matchMedia("(prefers-reduced-transparency: reduce)").matches: true
matchMedia("(prefers-reduced-transparency: reduce)").matches applied: reduce
matchMedia("(prefers-reduced-transparency: __invalid__)").matches: false
matchMedia("(prefers-reduced-transparency: __invalid__)").matches applied: no-preference
matchMedia("(prefers-contrast: __invalid__)").matches: false
matchMedia("(prefers-contrast: __invalid__)").matches applied: no-preference
matchMedia("(prefers-contrast: no-preference)").matches: true
matchMedia("(prefers-contrast: no-preference)").matches applied: no-preference
matchMedia("(prefers-contrast: more)").matches: true
matchMedia("(prefers-contrast: more)").matches applied: more
matchMedia("(prefers-contrast: less)").matches: true
matchMedia("(prefers-contrast: less)").matches applied: less
matchMedia("(prefers-contrast: custom)").matches: true
matchMedia("(prefers-contrast: custom)").matches applied: custom
matchMedia("(prefers-contrast: __invalid__)").matches: false
matchMedia("(prefers-contrast: __invalid__)").matches applied: no-preference
matchMedia("(color-gamut: __invalid__)").matches: false
matchMedia("(color-gamut: __invalid__)").matches applied: invalid
matchMedia("(color-gamut: p3)").matches: true
matchMedia("(color-gamut: p3)").matches applied: p3
matchMedia("(color-gamut: rec2020)").matches: true
matchMedia("(color-gamut: rec2020)").matches applied: rec2020
matchMedia("(color-gamut: __invalid__)").matches: false
matchMedia("(color-gamut: __invalid__)").matches applied: invalid
matchMedia("(forced-colors: __invalid__)").matches: false
matchMedia("(forced-colors: __invalid__)").matches applied: none
matchMedia("(forced-colors: active)").matches: true
matchMedia("(forced-colors: active)").matches applied: active
matchMedia("(forced-colors: none)").matches: true
matchMedia("(forced-colors: none)").matches applied: none
matchMedia("(forced-colors: __invalid__)").matches: false
matchMedia("(forced-colors: __invalid__)").matches applied: none
matchMedia("(prefers-color-scheme: dark) and (prefers-reduced-motion: reduce)").matches: true
matchMedia("(prefers-color-scheme: dark) and (prefers-reduced-motion: reduce)").matches applied: dark2; reduce2
matchMedia("(prefers-color-scheme: __invalid__)").matches: false
matchMedia("(prefers-color-scheme: __invalid__)").matches applied: light