gecko-dev/dom/webidl/HTMLMarqueeElement.webidl
Brian Grinstead 35b0511c9a Bug 1425874 - Implement HTMLMarqueeElement r=bzbarsky
This adds a new class for the marquee tag, instead of overloading HTMLDivElement.
It removes some of the XBL that was used to expose properties to web content.

Differential Revision: https://phabricator.services.mozilla.com/D3824

--HG--
extra : moz-landing-system : lando
2018-11-14 05:29:11 +00:00

40 lines
1.6 KiB
Plaintext

/* -*- 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
* https://html.spec.whatwg.org/multipage/obsolete.html#the-marquee-element
* © 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.
*/
// https://html.spec.whatwg.org/multipage/obsolete.html#the-marquee-element
[HTMLConstructor]
interface HTMLMarqueeElement : HTMLElement {
[CEReactions, SetterThrows] attribute DOMString behavior;
[CEReactions, SetterThrows] attribute DOMString bgColor;
[CEReactions, SetterThrows] attribute DOMString direction;
[CEReactions, SetterThrows] attribute DOMString height;
[CEReactions, SetterThrows] attribute unsigned long hspace;
[CEReactions, SetterThrows] attribute long loop;
[CEReactions, SetterThrows] attribute unsigned long scrollAmount;
[CEReactions, SetterThrows] attribute unsigned long scrollDelay;
[CEReactions, SetterThrows] attribute boolean trueSpeed;
[CEReactions, SetterThrows] attribute unsigned long vspace;
[CEReactions, SetterThrows] attribute DOMString width;
attribute EventHandler onbounce;
attribute EventHandler onfinish;
attribute EventHandler onstart;
void start();
void stop();
[Func="IsChromeOrXBL"]
void setStartStopCallback(FunctionStringCallback? callback);
};