/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_bindings/webidls/FocusEvent.webidl
14 строк
544 B
Tim van der Lippe
Properly initialize related_target in UI events (#40182)
26 окт 2025, 14:36
Не верифицирован
26 окт 2025, 14:36
aad08bf
Код
Авторство
О чём код?
/* 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/. */ // https://w3c.github.io/uievents/#interface-focusevent [Exposed=Window] interface FocusEvent : UIEvent { [Throws] constructor(DOMString typeArg, optional FocusEventInit focusEventInitDict = {}); readonly attribute EventTarget? relatedTarget; }; dictionary FocusEventInit : UIEventInit { EventTarget? relatedTarget = null; };