mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Support stringifier attributes
This commit is contained in:
parent
97c01fc479
commit
691af0e98b
14 changed files with 11 additions and 73 deletions
|
@ -3,10 +3,9 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://drafts.csswg.org/cssom/#the-medialist-interface
|
||||
// [LegacyArrayClass]
|
||||
[Exposed=Window]
|
||||
interface MediaList {
|
||||
/* stringifier */ attribute [TreatNullAs=EmptyString] DOMString mediaText;
|
||||
stringifier attribute [TreatNullAs=EmptyString] DOMString mediaText;
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMString? item(unsigned long index);
|
||||
void appendMedium(DOMString medium);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue