1/*
2 * Copyright (C) 2007 Apple Inc. All rights reserved
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB.  If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20// https://html.spec.whatwg.org/C/#htmlmarqueeelement
21[
22    Exposed=Window,
23    HTMLConstructor
24] interface HTMLMarqueeElement : HTMLElement {
25    [Reflect] attribute DOMString behavior;
26    [Reflect] attribute DOMString bgColor;
27    [Reflect] attribute DOMString direction;
28    [Reflect] attribute DOMString height;
29    [Reflect] attribute unsigned long hspace;
30    [RaisesException=Setter] attribute long loop;
31    attribute unsigned long scrollAmount;
32    attribute unsigned long scrollDelay;
33    [Reflect] attribute boolean trueSpeed;
34    [Reflect] attribute unsigned long vspace;
35    [Reflect] attribute DOMString width;
36
37    // FIXME: Implement the following event handler attributes
38    // https://bugs.webkit.org/show_bug.cgi?id=49788
39    // attribute EventHandler onbounce;
40    // attribute EventHandler onfinish;
41    // attribute EventHandler onstart;
42
43    void start();
44    void stop();
45};
46