1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 02:13:56 +09:00

LibWeb: When declarative shadow attachment fails, continue in right spot

If attachment fails for whatever reason (e.g the host element is not
allowed to be a host), the HTML spec tells us to insert the template
element anyway and proceed.

Before this change, we were recomputing the insertion location at this
point, which caused it to be *inside* the template element. Inserting
the template element into itself didn't work, and so the DOM would end
up incorrect.

The fix here is to simply use the insertion point we determined earlier
in the same function, before putting a template element on the stack of
open elements. We already do this elsewhere.

Fixes at least 228 subtests on WPT. :^)
This commit is contained in:
Andreas Kling 2025-04-25 09:36:57 +02:00 committed by Andreas Kling
parent 1102a31866
commit 27efb3b140
Notes: github-actions[bot] 2025-04-25 09:02:11 +00:00
2 changed files with 234 additions and 231 deletions

View file

@ -1114,7 +1114,10 @@ void HTMLParser::handle_in_head(HTMLToken& token)
auto result = declarative_shadow_host_element.attach_a_shadow_root(mode, clonable, serializable, delegates_focus, Bindings::SlotAssignmentMode::Named);
if (result.is_error()) {
report_exception(Bindings::exception_to_throw_completion(vm(), result.release_error()), realm());
insert_an_element_at_the_adjusted_insertion_location(template_);
// FIXME: We do manual "insert before" instead of "insert an element at the adjusted insertion location" here
// Otherwise, the new insertion location will be inside the template's contents, which is not what we want here.
// This might be a spec bug(?)
adjusted_insertion_location.parent->insert_before(*template_, adjusted_insertion_location.insert_before_sibling);
return;
}

View file

@ -2,8 +2,8 @@ Harness status: OK
Found 648 tests
324 Pass
324 Fail
552 Pass
96 Fail
Pass Declarative Shadow DOM as a child of <article>, with mode=open, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <aside>, with mode=open, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <blockquote>, with mode=open, delegatesFocus=false. Should be safelisted.
@ -21,96 +21,96 @@ Pass Declarative Shadow DOM as a child of <nav>, with mode=open, delegatesFocus=
Pass Declarative Shadow DOM as a child of <p>, with mode=open, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <section>, with mode=open, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <span>, with mode=open, delegatesFocus=false. Should be safelisted.
Fail Declarative Shadow DOM as a child of <a>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <abbr>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <address>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <a>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <abbr>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <address>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <area>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <audio>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <b>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <audio>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <b>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <base>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdi>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdo>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdi>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdo>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <br>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <button>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <canvas>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <button>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <canvas>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <caption>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <cite>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <code>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <cite>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <code>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <col>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <colgroup>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <data>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <datalist>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dd>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <del>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <data>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <datalist>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dd>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <del>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <details>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dfn>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dl>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dt>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <em>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dfn>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dl>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dt>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <em>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <embed>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <fieldset>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figcaption>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figure>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <form>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <fieldset>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figcaption>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figure>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <form>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <head>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <hr>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <html>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <i>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <i>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <iframe>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <img>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <input>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ins>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <kbd>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <label>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <legend>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <li>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ins>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <kbd>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <label>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <legend>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <li>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <link>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <map>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <mark>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <menu>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <map>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <mark>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <menu>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <meta>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <meter>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <noscript>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <optgroup>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <option>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <output>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <optgroup>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <option>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <output>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <param>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <pre>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <pre>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <progress>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rp>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rt>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ruby>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <s>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <samp>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rp>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rt>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ruby>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <s>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <samp>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <script>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <select>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <slot>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <small>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <slot>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <small>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <source>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <strong>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <strong>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <style>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sub>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sup>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <summary>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <table>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sub>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sup>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <summary>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <table>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tbody>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <td>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <textarea>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tfoot>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <th>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <thead>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <time>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <time>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <title>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tr>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <track>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <u>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ul>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <var>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <video>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <u>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ul>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <var>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <video>, with mode=open, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <wbr>, with mode=open, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <article>, with mode=closed, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <aside>, with mode=closed, delegatesFocus=false. Should be safelisted.
@ -129,96 +129,96 @@ Pass Declarative Shadow DOM as a child of <nav>, with mode=closed, delegatesFocu
Pass Declarative Shadow DOM as a child of <p>, with mode=closed, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <section>, with mode=closed, delegatesFocus=false. Should be safelisted.
Pass Declarative Shadow DOM as a child of <span>, with mode=closed, delegatesFocus=false. Should be safelisted.
Fail Declarative Shadow DOM as a child of <a>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <abbr>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <address>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <a>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <abbr>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <address>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <area>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <audio>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <b>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <audio>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <b>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <base>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdi>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdo>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdi>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdo>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <br>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <button>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <canvas>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <button>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <canvas>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <caption>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <cite>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <code>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <cite>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <code>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <col>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <colgroup>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <data>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <datalist>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dd>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <del>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <data>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <datalist>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dd>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <del>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <details>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dfn>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dl>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dt>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <em>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dfn>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dl>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dt>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <em>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <embed>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <fieldset>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figcaption>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figure>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <form>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <fieldset>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figcaption>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figure>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <form>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <head>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <hr>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <html>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <i>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <i>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <iframe>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <img>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <input>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ins>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <kbd>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <label>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <legend>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <li>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ins>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <kbd>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <label>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <legend>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <li>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <link>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <map>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <mark>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <menu>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <map>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <mark>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <menu>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <meta>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <meter>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <noscript>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <optgroup>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <option>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <output>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <optgroup>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <option>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <output>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <param>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <pre>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <pre>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <progress>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rp>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rt>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ruby>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <s>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <samp>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rp>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rt>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ruby>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <s>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <samp>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <script>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <select>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <slot>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <small>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <slot>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <small>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <source>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <strong>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <strong>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <style>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sub>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sup>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <summary>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <table>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sub>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sup>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <summary>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <table>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tbody>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <td>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <textarea>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tfoot>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <th>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <thead>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <time>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <time>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <title>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tr>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <track>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <u>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ul>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <var>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <video>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <u>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ul>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <var>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <video>, with mode=closed, delegatesFocus=false. Should be disallowed.
Fail Declarative Shadow DOM as a child of <wbr>, with mode=closed, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <article>, with mode=invalid, delegatesFocus=false. Should be disallowed.
Pass Declarative Shadow DOM as a child of <aside>, with mode=invalid, delegatesFocus=false. Should be disallowed.
@ -345,96 +345,96 @@ Pass Declarative Shadow DOM as a child of <nav>, with mode=open, delegatesFocus=
Pass Declarative Shadow DOM as a child of <p>, with mode=open, delegatesFocus=true. Should be safelisted.
Pass Declarative Shadow DOM as a child of <section>, with mode=open, delegatesFocus=true. Should be safelisted.
Pass Declarative Shadow DOM as a child of <span>, with mode=open, delegatesFocus=true. Should be safelisted.
Fail Declarative Shadow DOM as a child of <a>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <abbr>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <address>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <a>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <abbr>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <address>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <area>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <audio>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <b>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <audio>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <b>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <base>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdi>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdo>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdi>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdo>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <br>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <button>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <canvas>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <button>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <canvas>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <caption>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <cite>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <code>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <cite>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <code>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <col>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <colgroup>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <data>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <datalist>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dd>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <del>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <data>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <datalist>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dd>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <del>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <details>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dfn>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dl>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dt>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <em>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dfn>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dl>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dt>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <em>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <embed>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <fieldset>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figcaption>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figure>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <form>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <fieldset>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figcaption>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figure>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <form>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <head>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <hr>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <html>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <i>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <i>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <iframe>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <img>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <input>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ins>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <kbd>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <label>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <legend>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <li>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ins>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <kbd>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <label>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <legend>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <li>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <link>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <map>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <mark>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <menu>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <map>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <mark>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <menu>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <meta>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <meter>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <noscript>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <optgroup>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <option>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <output>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <optgroup>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <option>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <output>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <param>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <pre>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <pre>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <progress>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rp>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rt>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ruby>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <s>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <samp>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rp>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rt>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ruby>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <s>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <samp>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <script>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <select>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <slot>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <small>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <slot>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <small>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <source>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <strong>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <strong>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <style>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sub>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sup>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <summary>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <table>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sub>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sup>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <summary>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <table>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tbody>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <td>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <textarea>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tfoot>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <th>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <thead>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <time>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <time>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <title>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tr>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <track>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <u>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ul>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <var>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <video>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <u>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ul>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <var>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <video>, with mode=open, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <wbr>, with mode=open, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <article>, with mode=closed, delegatesFocus=true. Should be safelisted.
Pass Declarative Shadow DOM as a child of <aside>, with mode=closed, delegatesFocus=true. Should be safelisted.
@ -453,96 +453,96 @@ Pass Declarative Shadow DOM as a child of <nav>, with mode=closed, delegatesFocu
Pass Declarative Shadow DOM as a child of <p>, with mode=closed, delegatesFocus=true. Should be safelisted.
Pass Declarative Shadow DOM as a child of <section>, with mode=closed, delegatesFocus=true. Should be safelisted.
Pass Declarative Shadow DOM as a child of <span>, with mode=closed, delegatesFocus=true. Should be safelisted.
Fail Declarative Shadow DOM as a child of <a>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <abbr>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <address>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <a>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <abbr>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <address>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <area>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <audio>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <b>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <audio>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <b>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <base>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdi>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <bdo>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdi>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <bdo>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <br>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <button>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <canvas>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <button>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <canvas>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <caption>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <cite>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <code>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <cite>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <code>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <col>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <colgroup>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <data>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <datalist>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dd>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <del>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <data>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <datalist>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dd>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <del>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <details>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dfn>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dl>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <dt>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <em>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dfn>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dl>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <dt>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <em>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <embed>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <fieldset>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figcaption>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <figure>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <form>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <fieldset>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figcaption>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <figure>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <form>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <head>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <hr>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <html>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <i>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <i>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <iframe>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <img>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <input>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ins>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <kbd>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <label>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <legend>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <li>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ins>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <kbd>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <label>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <legend>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <li>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <link>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <map>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <mark>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <menu>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <map>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <mark>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <menu>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <meta>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <meter>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <noscript>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <optgroup>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <option>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <output>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <optgroup>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <option>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <output>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <param>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <pre>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <pre>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <progress>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rp>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <rt>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ruby>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <s>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <samp>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rp>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <rt>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ruby>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <s>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <samp>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <script>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <select>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <slot>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <small>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <slot>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <small>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <source>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <strong>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <strong>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <style>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sub>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <sup>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <summary>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <table>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sub>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <sup>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <summary>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <table>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tbody>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <td>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <textarea>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tfoot>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <th>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <thead>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <time>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <time>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <title>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <tr>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <track>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <u>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <ul>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <var>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <video>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <u>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <ul>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <var>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <video>, with mode=closed, delegatesFocus=true. Should be disallowed.
Fail Declarative Shadow DOM as a child of <wbr>, with mode=closed, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <article>, with mode=invalid, delegatesFocus=true. Should be disallowed.
Pass Declarative Shadow DOM as a child of <aside>, with mode=invalid, delegatesFocus=true. Should be disallowed.