aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLElement.webidl
blob: ebaa83a19bff059cc3f8f535926aa575f126cf66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* -*- 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/. */

// http://www.whatwg.org/html/#htmlelement
interface HTMLElement : Element {
  // metadata attributes
  //         attribute DOMString title;
  //         attribute DOMString lang;
  //         attribute boolean translate;
  //         attribute DOMString dir;
  //readonly attribute DOMStringMap dataset;

  // microdata
  //         attribute boolean itemScope;
  //[PutForwards=value] readonly attribute DOMSettableTokenList itemType;
  //         attribute DOMString itemId;
  //[PutForwards=value] readonly attribute DOMSettableTokenList itemRef;
  //[PutForwards=value] readonly attribute DOMSettableTokenList itemProp;
  //readonly attribute HTMLPropertiesCollection properties;
  //         attribute any itemValue; // acts as DOMString on setting

  // user interaction
  //         attribute boolean hidden;
  //void click();
  //         attribute long tabIndex;
  //void focus();
  //void blur();
  //         attribute DOMString accessKey;
  //readonly attribute DOMString accessKeyLabel;
  //         attribute boolean draggable;
  //[PutForwards=value] readonly attribute DOMSettableTokenList dropzone;
  //         attribute DOMString contentEditable;
  //readonly attribute boolean isContentEditable;
  //         attribute HTMLMenuElement? contextMenu;
  //         attribute boolean spellcheck;
  //void forceSpellCheck();

  // command API
  //readonly attribute DOMString? commandType;
  //readonly attribute DOMString? commandLabel;
  //readonly attribute DOMString? commandIcon;
  //readonly attribute boolean? commandHidden;
  //readonly attribute boolean? commandDisabled;
  //readonly attribute boolean? commandChecked;
};
HTMLElement implements GlobalEventHandlers;