Files
tubestation/testing/web-platform/tests/interfaces/mediaqueries-5.idl
github-actions[bot] ec2e93b799 Bug 1920136 [wpt PR 48285] - Sync interfaces/ with @webref/idl 3.55.0, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.55.0 (#48285)

Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com>
--

wpt-commits: ce686591dc44d1f1855c41837024dd6d4304fdcb
wpt-pr: 48285
2024-09-25 07:31:20 +00:00

31 lines
1003 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Media Queries Level 5 (https://drafts.csswg.org/mediaqueries-5/)
[Exposed=Window, SecureContext]
partial interface Navigator {
[SameObject] readonly attribute PreferenceManager preferences;
};
[Exposed=Window, SecureContext]
interface PreferenceManager {
readonly attribute PreferenceObject colorScheme;
readonly attribute PreferenceObject contrast;
readonly attribute PreferenceObject reducedMotion;
readonly attribute PreferenceObject reducedTransparency;
readonly attribute PreferenceObject reducedData;
};
[Exposed=Window, SecureContext]
interface PreferenceObject : EventTarget {
readonly attribute DOMString? override;
readonly attribute DOMString value;
readonly attribute FrozenArray<DOMString> validValues;
undefined clearOverride();
Promise<undefined> requestOverride(DOMString? value);
attribute EventHandler onchange;
};