// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://html.spec.whatwg.org/multipage/dom.html#htmlorsvgelement
// TODO(rwlbuis): update link after HTMLOrSVGElement to HTMLOrForeignElement renaming:
// https://github.com/whatwg/html/issues/4702
interface mixin HTMLOrForeignElement {
[SameObject, PerWorldBindings] readonly attribute DOMStringMap dataset;
[CEReactions] attribute DOMString nonce;
[CEReactions, Reflect] attribute boolean autofocus;
[CEReactions] attribute long tabIndex;
// https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/Focusgroup/explainer.md
[CEReactions, Reflect, RuntimeEnabled=Focusgroup, Measure] attribute DOMString focusgroup;
[ImplementedAs=focusForBindings] void focus(optional FocusOptions options = {});
void blur();
};