dom/webidl/Text.webidl
author Boris Zbarsky <bzbarsky@mit.edu>
Wed, 24 Sep 2014 09:11:29 -0400
changeset 218223 16411120d562f0c53badb90b8108c19326427701
parent 132565 68891a4ffce3fe22662bd2de3ceca04f718560d4
permissions -rw-r--r--
Bug 1071615. Make codegen fail when "A implements B" appears on a Web IDL file different from the file A is defined in. r=khuey

/* -*- 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://www.w3.org/TR/2012/WD-dom-20120105/
 *
 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
 * liability, trademark and document use rules apply.
 */

[Constructor(optional DOMString data = "")]
interface Text : CharacterData {
  [Throws]
  Text splitText(unsigned long offset);
  [Throws]
  readonly attribute DOMString wholeText;
};

Text implements GeometryUtils;