author Boris Zbarsky <>
Tue, 29 Jan 2013 08:44:00 -0500
changeset 120212 ac96e7915fb41ec082f62e30c59e38fa05fbb334
parent 118414 1a7ca1f81bd21b1d678762a9586287294b25d378
child 325847 32b1721d1125934824d8b4a32904d445047dcb0a
permissions -rw-r--r--
Bug 829072 part 3. Move the event handlers that are shared by HTMLBodyElement, HTMLFramesetElement, and Window onto a WindowEventHandlers interface that can be on the RHS of 'implements'. r=peterv

/* -*- 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
 * The origin of this IDL file is
 * © 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.

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;