Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / HTMLTrackElement.webidl
blob9c97e2092c5410f800646bab831063953d0d8db0
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * http://www.whatwg.org/specs/web-apps/current-work/#the-track-element
8  */
10 [Exposed=Window]
11 interface HTMLTrackElement : HTMLElement {
12   [HTMLConstructor] constructor();
14   [CEReactions, SetterThrows, Pure]
15   attribute DOMString kind;
16   [CEReactions, SetterThrows, Pure]
17   attribute DOMString src;
18   [CEReactions, SetterThrows, Pure]
19   attribute DOMString srclang;
20   [CEReactions, SetterThrows, Pure]
21   attribute DOMString label;
22   [CEReactions, SetterThrows, Pure]
23   attribute boolean default;
25   const unsigned short NONE = 0;
26   const unsigned short LOADING = 1;
27   const unsigned short LOADED = 2;
28   const unsigned short ERROR = 3;
30   [BinaryName="readyStateForBindings"]
31   readonly attribute unsigned short readyState;
33   readonly attribute TextTrack? track;