@ctrl/dom 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/aria/_chunks/roles-list-B0OTIKQA.js +4 -0
  2. package/dist/aria/_chunks/roles-list-CkmykU-H.cjs +4 -0
  3. package/dist/aria/index.cjs +1 -1
  4. package/dist/aria/index.js +1 -1
  5. package/dist/aria/internal.cjs +1 -1
  6. package/dist/aria/internal.js +1 -1
  7. package/dist/aria/types/forms.d.ts +5 -0
  8. package/dist/aria/types/internal.d.ts +2 -2
  9. package/dist/aria/types/role.d.ts +8 -1
  10. package/dist/bridge/internal.js +1 -1
  11. package/dist/dom/_chunks/src-BbkJRbbx.js +49 -0
  12. package/dist/dom/index.js +1 -1
  13. package/dist/dom/internal.js +1 -1
  14. package/dist/dom/types/css/CSSStyleDeclaration.d.ts +10 -1
  15. package/dist/dom/types/css/cascade.d.ts +14 -4
  16. package/dist/dom/types/css/declarations.d.ts +5 -0
  17. package/dist/dom/types/css/internal.d.ts +1 -1
  18. package/dist/dom/types/events/listeners.d.ts +8 -1
  19. package/dist/dom/types/internal.d.ts +1 -1
  20. package/dist/dom/types/nodes/attributes.d.ts +4 -0
  21. package/dist/dom/types/nodes/cache.d.ts +5 -1
  22. package/dist/dom/types/nodes/constants.d.ts +8 -0
  23. package/dist/dom/types/selectors/filter.d.ts +5 -3
  24. package/dist/dom/types/window/clock.d.ts +5 -1
  25. package/dist/dom/types/window/compat.d.ts +3 -1
  26. package/dist/dom/types/window/geometry.d.ts +3 -9
  27. package/dist/jest-dom/_chunks/{matchers-CGTk9GX9.cjs → matchers-CkxM783o.cjs} +1 -1
  28. package/dist/jest-dom/_chunks/{matchers-Chf0yHoo.js → matchers-Dt7W4g5X.js} +1 -1
  29. package/dist/jest-dom/index.cjs +1 -1
  30. package/dist/jest-dom/index.js +1 -1
  31. package/dist/jest-dom/jest-globals.cjs +1 -1
  32. package/dist/jest-dom/jest-globals.js +1 -1
  33. package/dist/jest-dom/matchers.cjs +1 -1
  34. package/dist/jest-dom/matchers.js +1 -1
  35. package/dist/jest-dom/vitest.cjs +1 -1
  36. package/dist/jest-dom/vitest.js +1 -1
  37. package/dist/react/_chunks/{pure-DQzwul4s.cjs → pure-DR8LsIAA.cjs} +1 -1
  38. package/dist/react/_chunks/{pure-CCeTO5Mk.js → pure-ajnRI-Fp.js} +1 -1
  39. package/dist/react/index.cjs +1 -1
  40. package/dist/react/index.js +1 -1
  41. package/dist/react/pure.cjs +1 -1
  42. package/dist/react/pure.js +1 -1
  43. package/dist/testing-library/_chunks/{aria-snapshot-diff-Do-cz8cJ.cjs → aria-snapshot-diff-BXYf4D_D.cjs} +1 -1
  44. package/dist/testing-library/_chunks/aria-snapshot-diff-DejA3Rdn.js +14 -0
  45. package/dist/testing-library/agent.cjs +1 -1
  46. package/dist/testing-library/agent.js +1 -1
  47. package/dist/testing-library/index.cjs +5 -5
  48. package/dist/testing-library/index.js +8 -8
  49. package/dist/user-event/index.cjs +15 -15
  50. package/dist/user-event/index.js +15 -15
  51. package/dist/user-event/types/setup/setup.d.ts +12 -2
  52. package/dist/user-event/types/system/pointer/mouse.d.ts +0 -3
  53. package/dist/vitest-environment/index.js +1 -1
  54. package/package.json +1 -1
  55. package/dist/aria/_chunks/roles-list-BXCvPLJT.cjs +0 -4
  56. package/dist/aria/_chunks/roles-list-rVVxaIPs.js +0 -4
  57. package/dist/dom/_chunks/src-sZY6a2LC.js +0 -49
  58. package/dist/testing-library/_chunks/aria-snapshot-diff-Cj1v4fL1.js +0 -14
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./_chunks/roles-list-BXCvPLJT.cjs");let t=require("@ctrl/dom/internal");function tlRoleMatches(n,r,i){let a=(0,t.attr)(n,`role`);if(a!==null){if(!i){let e=a.indexOf(` `);return e===-1?a===r:e===r.length&&a.startsWith(r)}let e=0,t=a.length;for(;e<=t;){let n=a.indexOf(` `,e);if(n===-1&&(n=t),n>e&&n-e===r.length&&a.startsWith(r,e))return!0;e=n+1}return!1}return e.L(n)===r}exports.anyTag=e.M,exports.ariaCheckedState=e.l,exports.ariaPressedState=e.u,exports.computeAccessibleDescriptionImpl=e.C,exports.computeAccessibleNameImpl=e.w,exports.computeAriaBusy=e.d,exports.computeAriaChecked=e.f,exports.computeAriaCurrent=e.p,exports.computeAriaExpanded=e.m,exports.computeAriaPressed=e.h,exports.computeAriaSelected=e.g,exports.computeAriaValueMax=e._,exports.computeAriaValueMin=e.v,exports.computeAriaValueNow=e.y,exports.computeAriaValueText=e.b,exports.computeHeadingLevel=e.x,exports.computeTextAlternativeImpl=e.T,exports.daaExplicitRole=e.N,exports.daaGetRole=e.P,exports.daaImplicitRole=e.F,exports.getImplicitRoles=e.I,exports.getRolesImpl=e.n,exports.implOf=e.A,exports.implicitRole=e.L,exports.implicitRoleJestDom=e.R,exports.inputType=e.B,exports.isDisabledImpl=e.S,exports.isDisplayInline=e.D,exports.isDisplayNone=e.O,exports.isInaccessibleImpl=e.a,exports.isInaccessibleWithStyle=e.o,exports.isLabelable=e.V,exports.isSubtreeInaccessibleImpl=e.c,exports.isVisibilityHidden=e.k,exports.labelsOf=e.H,exports.queryIdRefs=e.j,exports.tlRole=e.z,exports.tlRoleMatches=tlRoleMatches,exports.withStyleOverride=e.E;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./_chunks/roles-list-CkmykU-H.cjs");function tlRoleMatches(t,n,r){let i=e.z(t),a=i.roleAttr;if(a!==null){if(!r){let e=a.indexOf(` `);return e===-1?a===n:e===n.length&&a.startsWith(n)}let e=0,t=a.length;for(;e<=t;){let r=a.indexOf(` `,e);if(r===-1&&(r=t),r>e&&r-e===n.length&&a.startsWith(n,e))return!0;e=r+1}return!1}return i.role===n}exports.anyTag=e.M,exports.ariaCheckedState=e.l,exports.ariaPressedState=e.u,exports.computeAccessibleDescriptionImpl=e.C,exports.computeAccessibleNameImpl=e.w,exports.computeAriaBusy=e.d,exports.computeAriaChecked=e.f,exports.computeAriaCurrent=e.p,exports.computeAriaExpanded=e.m,exports.computeAriaPressed=e.h,exports.computeAriaSelected=e.g,exports.computeAriaValueMax=e._,exports.computeAriaValueMin=e.v,exports.computeAriaValueNow=e.y,exports.computeAriaValueText=e.b,exports.computeHeadingLevel=e.x,exports.computeTextAlternativeImpl=e.T,exports.daaExplicitRole=e.N,exports.daaGetRole=e.P,exports.daaImplicitRole=e.F,exports.getImplicitRoles=e.I,exports.getRolesImpl=e.n,exports.implOf=e.A,exports.implicitRole=e.L,exports.implicitRoleJestDom=e.R,exports.inputType=e.V,exports.isDisabledImpl=e.S,exports.isDisplayInline=e.D,exports.isDisplayNone=e.O,exports.isInaccessibleImpl=e.a,exports.isInaccessibleWithStyle=e.o,exports.isLabelable=e.H,exports.isSubtreeInaccessibleImpl=e.c,exports.isVisibilityHidden=e.k,exports.labelMapForTree=e.U,exports.labelsOf=e.W,exports.queryIdRefs=e.j,exports.tlRole=e.B,exports.tlRoleMatches=tlRoleMatches,exports.withStyleOverride=e.E;
@@ -1 +1 @@
1
- import{A as e,B as t,C as n,D as r,E as i,F as a,H as o,I as s,L as c,M as l,N as u,O as d,P as f,R as p,S as m,T as h,V as g,_,a as v,b as y,c as b,d as x,f as S,g as C,h as w,j as T,k as E,l as D,m as O,n as k,o as A,p as j,u as M,v as N,w as P,x as F,y as I,z as L}from"./_chunks/roles-list-rVVxaIPs.js";import{attr as R}from"@ctrl/dom/internal";function tlRoleMatches(e,t,n){let r=R(e,`role`);if(r!==null){if(!n){let e=r.indexOf(` `);return e===-1?r===t:e===t.length&&r.startsWith(t)}let e=0,i=r.length;for(;e<=i;){let n=r.indexOf(` `,e);if(n===-1&&(n=i),n>e&&n-e===t.length&&r.startsWith(t,e))return!0;e=n+1}return!1}return c(e)===t}export{l as anyTag,D as ariaCheckedState,M as ariaPressedState,n as computeAccessibleDescriptionImpl,P as computeAccessibleNameImpl,x as computeAriaBusy,S as computeAriaChecked,j as computeAriaCurrent,O as computeAriaExpanded,w as computeAriaPressed,C as computeAriaSelected,_ as computeAriaValueMax,N as computeAriaValueMin,I as computeAriaValueNow,y as computeAriaValueText,F as computeHeadingLevel,h as computeTextAlternativeImpl,u as daaExplicitRole,f as daaGetRole,a as daaImplicitRole,s as getImplicitRoles,k as getRolesImpl,e as implOf,c as implicitRole,p as implicitRoleJestDom,t as inputType,m as isDisabledImpl,r as isDisplayInline,d as isDisplayNone,v as isInaccessibleImpl,A as isInaccessibleWithStyle,g as isLabelable,b as isSubtreeInaccessibleImpl,E as isVisibilityHidden,o as labelsOf,T as queryIdRefs,L as tlRole,tlRoleMatches,i as withStyleOverride};
1
+ import{A as e,B as t,C as n,D as r,E as i,F as a,H as o,I as s,L as c,M as l,N as u,O as d,P as f,R as p,S as m,T as h,U as g,V as _,W as v,_ as y,a as b,b as x,c as S,d as C,f as w,g as T,h as E,j as D,k as O,l as k,m as A,n as j,o as M,p as N,u as P,v as F,w as I,x as L,y as R,z}from"./_chunks/roles-list-B0OTIKQA.js";function tlRoleMatches(e,t,n){let r=z(e),i=r.roleAttr;if(i!==null){if(!n){let e=i.indexOf(` `);return e===-1?i===t:e===t.length&&i.startsWith(t)}let e=0,r=i.length;for(;e<=r;){let n=i.indexOf(` `,e);if(n===-1&&(n=r),n>e&&n-e===t.length&&i.startsWith(t,e))return!0;e=n+1}return!1}return r.role===t}export{l as anyTag,k as ariaCheckedState,P as ariaPressedState,n as computeAccessibleDescriptionImpl,I as computeAccessibleNameImpl,C as computeAriaBusy,w as computeAriaChecked,N as computeAriaCurrent,A as computeAriaExpanded,E as computeAriaPressed,T as computeAriaSelected,y as computeAriaValueMax,F as computeAriaValueMin,R as computeAriaValueNow,x as computeAriaValueText,L as computeHeadingLevel,h as computeTextAlternativeImpl,u as daaExplicitRole,f as daaGetRole,a as daaImplicitRole,s as getImplicitRoles,j as getRolesImpl,e as implOf,c as implicitRole,p as implicitRoleJestDom,_ as inputType,m as isDisabledImpl,r as isDisplayInline,d as isDisplayNone,b as isInaccessibleImpl,M as isInaccessibleWithStyle,o as isLabelable,S as isSubtreeInaccessibleImpl,O as isVisibilityHidden,g as labelMapForTree,v as labelsOf,D as queryIdRefs,t as tlRole,tlRoleMatches,i as withStyleOverride};
@@ -23,3 +23,8 @@ export declare function isLabelable(impl: NodeImpl): boolean;
23
23
  * label elements (tree order, same tree) whose labeled control is the element.
24
24
  */
25
25
  export declare function labelsOf(impl: NodeImpl): NodeImpl[] | null;
26
+ /**
27
+ * The label associations of `impl`'s tree (labelable control → its labels in tree order), current
28
+ * for the document version: `labelsOf` for many elements of one tree resolves it once.
29
+ */
30
+ export declare function labelMapForTree(impl: NodeImpl): Map<NodeImpl, NodeImpl[]>;
@@ -3,10 +3,10 @@ export { computeAccessibleNameImpl, computeAccessibleDescriptionImpl, computeTex
3
3
  export { isInaccessibleImpl, isSubtreeInaccessibleImpl, isInaccessibleWithStyle } from "./hidden.js";
4
4
  export { getRolesImpl } from "./roles-list.js";
5
5
  export { computeAriaSelected, computeAriaBusy, computeAriaChecked, computeAriaPressed, computeAriaCurrent, computeAriaExpanded, computeHeadingLevel, computeAriaValueNow, computeAriaValueMax, computeAriaValueMin, computeAriaValueText, ariaCheckedState, ariaPressedState, isDisabledImpl, } from "./states.js";
6
- export { labelsOf, inputType, isLabelable } from "./forms.js";
6
+ export { labelsOf, labelMapForTree, inputType, isLabelable } from "./forms.js";
7
7
  export { isDisplayNone, isVisibilityHidden, isDisplayInline } from "./style.js";
8
8
  export { implOf, queryIdRefs } from "./tree.js";
9
- import { type NodeImpl } from "@ctrl/dom/internal";
9
+ import type { NodeImpl } from "@ctrl/dom/internal";
10
10
  /**
11
11
  * Testing Library's role filter for one element: with a `role` attribute, its first " "-token
12
12
  * (or any non-empty token with `queryFallbacks`) must equal `role`; otherwise the implicit
@@ -1,4 +1,4 @@
1
- import { type NodeImpl } from "@ctrl/dom/internal";
1
+ import { type NodeCache, type NodeImpl } from "@ctrl/dom/internal";
2
2
  /** Tag id by local name for any namespace (type selectors / `localName` checks are namespace-agnostic). */
3
3
  export declare function anyTag(impl: NodeImpl): number;
4
4
  /**
@@ -7,6 +7,13 @@ export declare function anyTag(impl: NodeImpl): number;
7
7
  * exactly one role, so the list form always has at most one element.
8
8
  */
9
9
  export declare function implicitRole(impl: NodeImpl): string;
10
+ /**
11
+ * The element's cache with its `role` attribute current, and its Testing Library implicit role
12
+ * when it has no `role` attribute (else NOT_COMPUTED: ByRole matches against the attribute then):
13
+ * every ByRole query asks for them for every element in the container, and both depend only on
14
+ * the tag and attributes, so they are kept per document version.
15
+ */
16
+ export declare function roleCache(impl: NodeImpl): NodeCache;
10
17
  /** jest-dom@7's `getImplicitAriaRoles` variant (see module comment). */
11
18
  export declare function implicitRoleJestDom(impl: NodeImpl): string;
12
19
  /** Testing Library's `getImplicitAriaRoles(el)`: a fresh array of zero or one role. */
@@ -1,4 +1,4 @@
1
1
  // Generated by scripts/release.ts (writeBridges): the running ctrl-dom environment's DOM, else a fresh load.
2
2
  import { createRequire } from "node:module";
3
3
  const dom = globalThis[Symbol.for("ctrl-dom.dom.modules")]?.internal ?? createRequire(import.meta.url)("../dom/internal.js");
4
- export const { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, adoptedStyleSheetsOf, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, styleElementSheet, styleElementUpdated, styleSheetsOf, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties } = dom;
4
+ export const { $_proto__, $aboutBase, $active, $assocGen, $attr, $attributes, $availableToElementInternals, $badInput, $baseFor, $baseOverride, $baseURL, $baseVersion, $block, $byCtor, $byName, $cache, $callback, $checked, $checkedSet, $childNodes, $childWindows, $children, $classList, $clipboard, $clonable, $closed, $coll, $compiled, $compiledFor, $condition, $constructed, $constructingEntryList, $contentType, $controlsCache, $controlsDoc, $controlsVersion, $cookieJar, $cookies, $css, $current, $customElements, $customValidity, $cx, $data, $dataset, $declarative, $defaultNamespace, $defaultValueOverride, $delegatesFocus, $derived, $devicePixelRatio, $dirtiness, $dirtyChecked, $dirtyValue, $disabled, $disallowModification, $doc, $dropEffect, $ec, $effectAllowed, $el, $elements, $entries, $eo, $error, $file, $files, $fill, $filter, $firingSubmissionEvents, $focused, $form, $forms, $frameCallbacks, $frameElement, $frameId, $frameTask, $frameTime, $generation, $globalObject, $hasTransients, $height, $history, $home, $host, $href, $id, $idleCallbacks, $idleId, $ids, $impl, $implementation, $indeterminate, $index, $indexed, $inflight, $info, $innerHeight, $innerWidth, $is2D, $isHTML, $items, $keyText, $kind, $labels, $layerName, $list, $listeners, $localStorage, $location, $lockedForReset, $m, $matches, $media, $mediaQueryLists, $mode, $name, $names, $namespaces, $navigator, $nodes, $onchange, $options, $owner, $ownerNode, $ownerRule, $parent, $parentRule, $parentWindow, $pastNames, $pointerBeforeReference, $preApplied, $preChecked, $preCheckedRadio, $preIndeterminate, $prefix, $prelude, $presentationStyle, $pseudo, $queries, $ranges, $rawValue, $readonly, $readyState, $record, $records, $rects, $reference, $result, $root, $rules, $running, $runningFrame, $sc, $screen, $scrollRestoration, $scrollX, $scrollY, $selDir, $selEnd, $selSet, $selStart, $selectedOptions, $selectedness, $selection, $selector, $serializable, $sessionStorage, $settled, $shadowRoot, $shed, $sheet, $sheets, $slotAssignment, $so, $states, $style, $styleVersion, $supportsText, $systemId, $target, $targets, $tasks, $timers, $title, $type, $types, $uiValue, $updating, $updatingSelectedContent, $uri, $url, $userActivation, $userEdited, $userValidity, $validity, $value, $version, $visualViewport, $w, $whatToShow, $whenDefined, $width, $window, $writeBuffer, $x, $xhr, $y, $z, ATTRIBUTE_NODE, AttrRecord, CDATA_SECTION_NODE, COMMENT_NODE, COMPAT, COMPAT_PROFILES, DEFAULT_COMPAT, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, DeclBlock, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, EventState, FAILURE_CHANNEL, F_ADOPT_HOOK, F_ARIA_ATTRS, F_ATTR_HOOK, F_CE_CUSTOM, F_CHILDREN_HOOK, F_CHILD_LIST, F_CONNECTED, F_CONNECT_HOOK, F_CUSTOM, F_DATA_ATTRS, F_FACE, F_HAS_SHADOW, F_HAS_STYLE_ATTR, F_HTML, F_MO_REGISTERED, F_SHADOW_ROOT, GLOBAL_EVENT_HANDLER_EVENTS, HTMLCollection, HTML_NS, INPUT_TYPE_NAMES, MATHML_NS, NOTATION_NODE, NodeCache, NodeImpl, NodeList, PROCESSING_INSTRUCTION_NODE, SPAN_CHANNEL, SVG_NS, T, TEXT_NODE, VirtualClock, VirtualTimeout, WINDOW_EVENT_HANDLER_EVENTS, XLINK_NS, XMLNS_NS, XML_NS, adoptedStyleSheetsOf, ariaAttr, asciiLowercase, assignManually, assignedElements, assignedNodes, assignedSlot, attachShadowRoot, attr, attrAssociatedElement, attrAssociatedElements, attrNode, captureInterfaceBaseline, childAt, classTokens, clearUIValue, clockNow, clockStats, closest, compareBoundaryPoints, compatExposes, computedDisplay, computedValue, computedVisibility, constructEntryList, controlValue, createEvent, createFileList, createLinkSheet, currentStyleVersion, defaultButton, deferredCompatMembers, derivedCache, describeCall, describeNode, dispatch, dispatchTrusted, ensureCollectionIndexGetters, ensureIndexGetters, evaluateMediaQueryList, faceState, findFlattenedSlottables, findSlot, fireAnEvent, fireSyntheticPointerEvent, firstElementChild, foreignImmediatesPending, formOwner, getAttribute, getComputedStyle, getComputedStyleOverride, getCurrentEvent, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getEventHandler, getUISelection, getUIValue, guardInterfaceDefinitions, hasAttr, hasAuthorStyles, hasExplicitAttrElements, hasListeners, hasReadonlyAttribute, hasUIValue, hiddenGlobals, implicitSubmission, indexGetterTable, indexOf, inputChecked, inputIndeterminate, inputType, inputTypeFromAttr, inspectNode, installClock, installEventHandlers, isActuallyDisabled, isAsciiWhitespace, isAutofilled, isChecked, isDefault, isDisabled, isDisplayNone, isDisplayNoneInclusive, isEditableControl, isEnabled, isFACE, isInRange, isInclusiveAncestor, isIndeterminate, isInvalid, isLabelable, isListed, isMutable, isNumericType, isOptional, isOutOfRange, isPlaceholderShown, isReadOnly, isReadWrite, isRequired, isResettable, isSubmitButton, isSubmittable, isTextControl, isTextualType, isValid, isValidDoctypeName, isValidElementLocalName, isValidNamespacePrefix, isVisibilityHidden, labeledControl, labelsFor, lastElementChild, listOfOptions, matchMediaText, matches, mediaEnvironment, nextElementInTree, nextElementSibling, nextInTree, nextSkippingChildren, nodeCache, nodeGetTheParent, nodeLength, notifyMutationObservers, optionSelected, parseDeclBlock, parseFragment, parseMediaQueryList, peekDerivedCache, pointerEvents, pointerEventsNone, prefixFlag, previousElementSibling, previousInTree, pseudoContent, querySelector, querySelectorAll, quote, registerOwnerSheet, removeAllEventListeners, removeAttribute, removeOwnerSheet, replaceData, reportException, resolveCompat, restoreInterfaces, retarget, serializeChildren, serializeNode, setAdoptedStyleSheets, setAssignedSlotLookup, setAttribute, setCheckedFromUI, setComputedColorMode, setEventHandler, setFailureSnapshot, setFilesFromUI, setNodeDescriber, setNotImplementedHandler, setOptionSelectedFromUI, setTrusted, setUISelection, setUIValue, setUncaughtExceptionHandler, skipIdleTime, spanChannel, splitOnAsciiWhitespace, splitText, styleElementRemoved, styleElementSheet, styleElementUpdated, styleSheetsOf, styledDisplay, subscribeTestFailures, supportsSelection, supportsSelectionType, tagId, tagName, tracePromise, traceSync, tracing, trackGlobalTimers, treeRoot, uaDisplay, unregisterOwnerSheet, validateAndExtract, valueMode, virtualDate, virtualPerformance, windowHooks, windowInterfaces, withNamedProperties } = dom;