dom/webidl/HTMLBodyElement.webidl
author Edgar Chen <echen@mozilla.com>
Thu, 17 Nov 2016 17:34:42 +0800
changeset 325847 32b1721d1125934824d8b4a32904d445047dcb0a
parent 120212 ac96e7915fb41ec082f62e30c59e38fa05fbb334
child 325873 39947ae430ccdec68ffae1f6db5041ae370b604b
permissions -rw-r--r--
Bug 1274159 - Part 3-1: Add HTMLConstructor to HTMLElement and its subclass; r=bz MozReview-Commit-ID: 1a2u7JUaFH2

/* -*- 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.whatwg.org/specs/web-apps/current-work/
 *
 * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
 * Opera Software ASA. You are granted a license to use, reproduce
 * and create derivative works of this document.
 */

[HTMLConstructor]
interface HTMLBodyElement : HTMLElement {
};

partial interface HTMLBodyElement {
  [TreatNullAs=EmptyString, SetterThrows] attribute DOMString text;
  [TreatNullAs=EmptyString, SetterThrows] attribute DOMString link;
  [TreatNullAs=EmptyString, SetterThrows] attribute DOMString vLink;
  [TreatNullAs=EmptyString, SetterThrows] attribute DOMString aLink;
  [TreatNullAs=EmptyString, SetterThrows] attribute DOMString bgColor;
  [SetterThrows]                          attribute DOMString background;
};

HTMLBodyElement implements WindowEventHandlers;