michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: // http://dev.w3.org/csswg/cssom/#the-medialist-interface michael@0: michael@0: [ArrayClass] michael@0: interface MediaList { michael@0: [TreatNullAs=EmptyString] michael@0: attribute DOMString mediaText; michael@0: michael@0: readonly attribute unsigned long length; michael@0: getter DOMString? item(unsigned long index); michael@0: [Throws] michael@0: void deleteMedium(DOMString oldMedium); michael@0: [Throws] michael@0: void appendMedium(DOMString newMedium); michael@0: };