summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/html_or_foreign_element.idl
blob: 486da823b354464410ef2e3de002c0ac7a6f7d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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;
  [Affects=Nothing, CEReactions] attribute long tabIndex;
  void focus(optional FocusOptions options = {});
  void blur();
};