diff --git a/shadow-dom/focus/focus-method-delegatesFocus.html b/shadow-dom/focus/focus-method-delegatesFocus.html index 30d60f975d9ab4..de0b6bf70f8083 100644 --- a/shadow-dom/focus/focus-method-delegatesFocus.html +++ b/shadow-dom/focus/focus-method-delegatesFocus.html @@ -283,5 +283,28 @@ assert_equals(dom.outerShadow.activeElement, dom.innerHost); assert_equals(dom.innerShadow.activeElement, dom.innerShadowChild); }, 'focus() on host with delegatesFocus with another host with delegatesFocus and a focusable child'); + +// Note that we use flat tree here however it might not be the behavior we end up +// wanting, per https://github.com/whatwg/html/issues/7207 +test(() => { + // Structure: + //