-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6e87c1
commit 8fd7146
Showing
8 changed files
with
61 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// 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; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters