| // Copyright 2017 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Computed Accessibility node |
| // Explainer: https://github.com/WICG/aom/blob/gh-pages/explainer.md |
| // Spec: https://wicg.github.io/aom/spec/ |
| [ |
| Exposed=Window, |
| RuntimeEnabled=AccessibilityObjectModel |
| ] interface ComputedAccessibleNode { |
| |
| readonly attribute boolean? atomic; |
| readonly attribute boolean? busy; |
| readonly attribute boolean? disabled; |
| readonly attribute boolean? expanded; |
| readonly attribute boolean? modal; |
| readonly attribute boolean? multiline; |
| readonly attribute boolean? multiselectable; |
| readonly attribute boolean? readOnly; |
| readonly attribute boolean? required; |
| readonly attribute boolean? selected; |
| |
| readonly attribute long? colCount; |
| readonly attribute unsigned long? colIndex; |
| readonly attribute unsigned long? colSpan; |
| readonly attribute unsigned long? level; |
| readonly attribute unsigned long? posInSet; |
| readonly attribute long? rowCount; |
| readonly attribute unsigned long? rowIndex; |
| readonly attribute unsigned long? rowSpan; |
| readonly attribute long? setSize; |
| |
| readonly attribute double? valueMax; |
| readonly attribute double? valueMin; |
| readonly attribute double? valueNow; |
| |
| readonly attribute DOMString? autocomplete; |
| readonly attribute DOMString? checked; |
| readonly attribute DOMString? keyShortcuts; |
| readonly attribute DOMString? name; |
| readonly attribute DOMString? placeholder; |
| readonly attribute DOMString? role; |
| readonly attribute DOMString? roleDescription; |
| readonly attribute DOMString? valueText; |
| |
| readonly attribute ComputedAccessibleNode? parent; |
| readonly attribute ComputedAccessibleNode? firstChild; |
| readonly attribute ComputedAccessibleNode? lastChild; |
| readonly attribute ComputedAccessibleNode? previousSibling; |
| readonly attribute ComputedAccessibleNode? nextSibling; |
| |
| [CallWith=ScriptState] Promise<any> ensureUpToDate(); |
| }; |