<!-- Please describe your changes on the following line: --> Added MediaList interface and implemented `mediaText`, `length` and `index` attributes. r? @Manishearth --- <!-- 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 <!-- Either: --> - [x] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 106a538e7e2898902093a77307f004ab79a270d8
10 lines
405 B
Plaintext
10 lines
405 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/#the-cssmediarule-interface
|
|
[Exposed=Window]
|
|
interface CSSMediaRule : CSSGroupingRule {
|
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
};
|