Support stringifier attributes

This commit is contained in:
Kagami Sascha Rosylight 2019-10-25 15:46:52 +09:00
parent 97c01fc479
commit 691af0e98b
14 changed files with 11 additions and 73 deletions

View file

@ -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);