/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/HTMLOrSVGElement.webidl
25 строк
849 B
Martin Robinson
script: Modernize the `HTMLElement` WebIDL (#43904)
03 апр 2026, 21:25
Не верифицирован
03 апр 2026, 21:25
c0d0a87
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ /* * The origin of this IDL file is * https://html.spec.whatwg.org/multipage/#htmlorsvgelement * * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C * liability, trademark and document use rules apply. */ dictionary FocusOptions { boolean preventScroll = false; // boolean focusVisible; }; interface mixin HTMLOrSVGElement { // [SameObject] readonly attribute DOMStringMap dataset; attribute DOMString nonce; // intentionally no [CEReactions] [CEReactions] attribute boolean autofocus; [CEReactions] attribute long tabIndex; undefined focus(optional FocusOptions options = {}); undefined blur(); };