Backed out changeset 62f7af8fe549 (bug 1843981) for causing valgrind bustage. CLOSED...
[gecko.git] / dom / webidl / AccessibleNode.webidl
blobfe1d8437279bd11afa420009fefa314f5c3b925f
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 [Func="mozilla::dom::AccessibleNode::IsAOMEnabled",
8  Exposed=Window]
9 interface AccessibleNode {
10   readonly attribute DOMString computedRole;
11   [Frozen, Cached, Pure]
12   readonly attribute sequence<DOMString> states;
13   [Frozen, Cached, Pure]
14   readonly attribute sequence<DOMString> attributes;
15   readonly attribute Node? DOMNode;
17   boolean is(DOMString... states);
18   boolean has(DOMString... attributes);
19   [Throws]
20   any get(DOMString attribute);
22   attribute DOMString? role;
23   attribute DOMString? roleDescription;
25   // Accessible label and descriptor
26   attribute DOMString? label;
28   // Global states and properties
29   attribute DOMString? current;
31   // Accessible properties
32   attribute DOMString? autocomplete;
33   attribute DOMString? keyShortcuts;
34   attribute boolean? modal;
35   attribute boolean? multiline;
36   attribute boolean? multiselectable;
37   attribute DOMString? orientation;
38   attribute boolean? readOnly;
39   attribute boolean? required;
40   attribute DOMString? sort;
42   // Range values
43   attribute DOMString? placeholder;
44   attribute double? valueMax;
45   attribute double? valueMin;
46   attribute double? valueNow;
47   attribute DOMString? valueText;
49   // Accessible states
50   attribute DOMString? checked;
51   attribute boolean? disabled;
52   attribute boolean? expanded;
53   attribute DOMString? hasPopUp;
54   attribute boolean? hidden;
55   attribute DOMString? invalid;
56   attribute DOMString? pressed;
57   attribute boolean? selected;
59   // Live regions
60   attribute boolean? atomic;
61   attribute boolean? busy;
62   attribute DOMString? live;
63   attribute DOMString? relevant;
65   // Other relationships
66   attribute AccessibleNode? activeDescendant;
67   attribute AccessibleNode? details;
68   attribute AccessibleNode? errorMessage;
70   // Collections.
71   attribute long? colCount;
72   attribute unsigned long? colIndex;
73   attribute unsigned long? colSpan;
74   attribute unsigned long? level;
75   attribute unsigned long? posInSet;
76   attribute long? rowCount;
77   attribute unsigned long? rowIndex;
78   attribute unsigned long? rowSpan;
79   attribute long? setSize;