dom/webidl/VTTRegion.webidl
author Rick Eyre <rick.eyre@hotmail.com>
Wed, 12 Mar 2014 13:55:45 -0400
changeset 192148 0b59bee9d3d2f85a1bb02ffcd929a76de6a357e6
parent 191638 f0cd5b6b1ec2d5496f22ff93df63d3294dd84aca
child 350405 48d77c582ec436b3f7dca684fff6ef2ab97af086
permissions -rw-r--r--
Bug 982183 - Put VTTRegion DOM API behind a pref. r=rillian, r=bz

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * The origin of this IDL file is
 *  http://dev.w3.org/html5/webvtt/#extension-of-the-texttrack-interface-for-region-support
 */

[Constructor, Func="TextTrackRegion::RegionsEnabled"]
interface VTTRegion {
           [SetterThrows]
           attribute double width;

           attribute long lines;

           [SetterThrows]
           attribute double regionAnchorX;
           [SetterThrows]
           attribute double regionAnchorY;
           [SetterThrows]
           attribute double viewportAnchorX;
           [SetterThrows]
           attribute double viewportAnchorY;
           [SetterThrows]
           attribute DOMString scroll;
};