Bug 1899500 - Implement explicit resource management in Baseline compiler. r=arai
[gecko.git] / dom / webidl / VTTRegion.webidl
blobd9f1204da1daa4ffb12cff102082f8e62765c4ed
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  * https://w3c.github.io/webvtt/#the-vttregion-interface
8  */
10 enum ScrollSetting {
11   "",
12   "up"
15 [Exposed=Window]
16 interface VTTRegion {
17   [Throws]
18   constructor();
20            attribute DOMString id;
21            [SetterThrows]
22            attribute double width;
23            [SetterThrows]
24            attribute long lines;
25            [SetterThrows]
26            attribute double regionAnchorX;
27            [SetterThrows]
28            attribute double regionAnchorY;
29            [SetterThrows]
30            attribute double viewportAnchorX;
31            [SetterThrows]
32            attribute double viewportAnchorY;
34            attribute ScrollSetting scroll;