From f346858acfdb5ce30dfbad4c1383db2245b7f5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 21 Apr 2021 09:19:37 +0200 Subject: [PATCH] Add ShadowRoot.prototype.delegatesFocus attribute Tests: https://github.com/web-platform-tests/wpt/pull/28593. Fixes #931. --- dom.bs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dom.bs b/dom.bs index ab1bebb3f..3427823f8 100644 --- a/dom.bs +++ b/dom.bs @@ -5697,6 +5697,7 @@ constructor steps are to set this's node document to [Exposed=Window] interface ShadowRoot : DocumentFragment { readonly attribute ShadowRootMode mode; + readonly attribute boolean delegatesFocus; readonly attribute SlotAssignmentMode slotAssignment; readonly attribute Element host; attribute EventHandler onslotchange; @@ -5734,6 +5735,12 @@ null if event's composed flag is unset and shadow roo

The mode getter steps are to return this's mode.

+

The delegatesFocus getter steps are to return +this's delegates focus.

+ +

The slotAssignment getter steps are to return +this's slot assignment. +

The host getter steps are to return this's host. @@ -5742,9 +5749,6 @@ null if event's composed flag is unset and shadow roo onslotchange event handler, whose event handler event type is {{HTMLSlotElement/slotchange}}. -

The slotAssignment getter steps are to return -this's slot assignment. -


In shadow-including tree order is