mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
<!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #13376 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Fixes #13376. Source-Repo: https://github.com/servo/servo Source-Revision: 6ef46ab9e4ec08d5f5226d41f0cac77c3584bae9
15 lines
538 B
Plaintext
15 lines
538 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://drafts.csswg.org/cssom-view/#mediaquerylist
|
|
|
|
[Exposed=(Window)]
|
|
interface MediaQueryList : EventTarget {
|
|
readonly attribute DOMString media;
|
|
readonly attribute boolean matches;
|
|
void addListener(EventListener? listener);
|
|
void removeListener(EventListener? listener);
|
|
attribute EventHandler onchange;
|
|
};
|