Truly independent web browser
LibWeb: Use the current node as the declarative shadow root host
Andreas Klinga47d1074d1e2
diff --git a/Libraries/LibWeb/HTML/Parser/Rust/src/parser.rs b/Libraries/LibWeb/HTML/Parser/Rust/src/parser.rsindex bff64b16ded..420187c9eb6 100644--- a/Libraries/LibWeb/HTML/Parser/Rust/src/parser.rs+++ b/Libraries/LibWeb/HTML/Parser/Rust/src/parser.rs@@ -3918,19 +3918,17 @@ impl TreeBuilder {// 5. Push "in template" onto the stack of template insertion modes so that it is the new current template insertion mode.self.stack_of_template_insertion_modes.push(InsertionMode::InTemplate);- // FIXME: 6. Let declarativeShadowHostElement be the current node.- // FIXME: Use the current node for declarativeShadowHostElement, rather than the adjusted current node. A top-level- // template in a fragment must not attach a shadow root to its fragment context element.- let adjusted_current_node = self.adjusted_current_node().map(|node| node.handle);- let declarative_shadow_host_element = adjusted_current_node.unwrap_or(0);+ // 6. Let declarativeShadowHostElement be the current node.+ // NOTE: This is not the adjusted current node, so that in the fragment case a top-level template element never+ // attaches a shadow root to the parser's fragment context element.+ let declarative_shadow_host_element = self.current_node_handle();// 7. Let hostIsRoot be true if declarativeShadowHostElement is the topmost element in the stack of open elements;// otherwise false.- let host_is_root = !adjusted_current_node.is_some_and(|adjusted_current_node| {- self.stack_of_open_elements- .first()- .is_none_or(|topmost_element| topmost_element.handle != adjusted_current_node)- });+ let host_is_root = self+ .stack_of_open_elements+ .first()+ .is_some_and(|topmost_element| topmost_element.handle == declarative_shadow_host_element);// 8. Let template be the result of creating an element for the token given templateStartTag, the HTML// namespace, and the target parent of the appropriate place for inserting a node.diff --git a/Tests/LibWeb/Text/expected/wpt-import/sanitizer-api/sethtmlunsafe-toplevel-template-script.txt b/Tests/LibWeb/Text/expected/wpt-import/sanitizer-api/sethtmlunsafe-toplevel-template-script.txtindex 79281b5f352..f9e1f5bf028 100644--- a/Tests/LibWeb/Text/expected/wpt-import/sanitizer-api/sethtmlunsafe-toplevel-template-script.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/sanitizer-api/sethtmlunsafe-toplevel-template-script.txt@@ -2,13 +2,12 @@ Harness status: OKFound 10 tests-9 Pass-1 Fail+10 PassPass Top-level template and script testcases from sub.datPass Top-level <script> parsed through setHTMLUnsafe() without runScripts does not executePass Top-level <script> parsed through setHTMLUnsafe() with runScripts: true executesPass Testcase #0 [setHTMLUnsafe], "<template><b>Hello</b></template>", config: "{}"-Fail Testcase #1 [setHTMLUnsafe], "<template shadowrootmode="open"><span>Inside</span></template>", config: "{}"+Pass Testcase #1 [setHTMLUnsafe], "<template shadowrootmode="open"><span>Inside</span></template>", config: "{}"Pass Testcase #2 [setHTMLUnsafe], "<template><b>Hello</b></template>", config: "{ "replaceWithChildrenElements": ["template"] }"Pass Testcase #3 [setHTMLUnsafe], "<template><b>Hello</b></template>", config: "{ "removeElements": ["template"] }"Pass Testcase #4 [setHTMLUnsafe], "<script>alert(1);</script>", config: "{}"diff --git a/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/declarative/declarative-shadow-dom-attachment.txt b/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/declarative/declarative-shadow-dom-attachment.txtindex b4bee671987..a8274307a3f 100644--- a/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/declarative/declarative-shadow-dom-attachment.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/shadow-dom/declarative/declarative-shadow-dom-attachment.txt@@ -2,8 +2,7 @@ Harness status: OKFound 648 tests-552 Pass-96 Fail+648 PassPass 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.@@ -24,20 +23,20 @@ Pass Declarative Shadow DOM as a child of <span>, with mode=open, delegatesFocusPass 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.+Pass Declarative Shadow DOM as a child of <area>, 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.+Pass Declarative Shadow DOM as a child of <base>, 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.+Pass Declarative Shadow DOM as a child of <br>, 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.+Pass Declarative Shadow DOM as a child of <caption>, 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.+Pass Declarative Shadow DOM as a child of <col>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <colgroup>, 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.@@ -48,28 +47,28 @@ Pass Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocPass 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.+Pass Declarative Shadow DOM as a child of <embed>, 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.+Pass Declarative Shadow DOM as a child of <head>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <hr>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <html>, 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.+Pass Declarative Shadow DOM as a child of <img>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <input>, 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.+Pass Declarative Shadow DOM as a child of <link>, 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 <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.Pass Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=false. Should be disallowed.@@ -77,7 +76,7 @@ Pass Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=fPass 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.+Pass Declarative Shadow DOM as a child of <param>, 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.Pass Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=false. Should be disallowed.@@ -90,28 +89,28 @@ Pass Declarative Shadow DOM as a child of <script>, with mode=open, delegatesFocPass Declarative Shadow DOM as a child of <select>, 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.+Pass Declarative Shadow DOM as a child of <source>, 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.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 <tbody>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass 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.+Pass Declarative Shadow DOM as a child of <tfoot>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <th>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <thead>, 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.+Pass Declarative Shadow DOM as a child of <tr>, with mode=open, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <track>, 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 <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.Pass Declarative Shadow DOM as a child of <blockquote>, with mode=closed, delegatesFocus=false. Should be safelisted.@@ -132,20 +131,20 @@ Pass Declarative Shadow DOM as a child of <span>, with mode=closed, delegatesFocPass 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.+Pass Declarative Shadow DOM as a child of <area>, 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.+Pass Declarative Shadow DOM as a child of <base>, 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.+Pass Declarative Shadow DOM as a child of <br>, 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.+Pass Declarative Shadow DOM as a child of <caption>, 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.+Pass Declarative Shadow DOM as a child of <col>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <colgroup>, 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.@@ -156,28 +155,28 @@ Pass Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFPass 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.+Pass Declarative Shadow DOM as a child of <embed>, 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.+Pass Declarative Shadow DOM as a child of <head>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <hr>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <html>, 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.+Pass Declarative Shadow DOM as a child of <img>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <input>, 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.+Pass Declarative Shadow DOM as a child of <link>, 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 <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.Pass Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=false. Should be disallowed.@@ -185,7 +184,7 @@ Pass Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocusPass 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.+Pass Declarative Shadow DOM as a child of <param>, 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.Pass Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=false. Should be disallowed.@@ -198,28 +197,28 @@ Pass Declarative Shadow DOM as a child of <script>, with mode=closed, delegatesFPass Declarative Shadow DOM as a child of <select>, 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.+Pass Declarative Shadow DOM as a child of <source>, 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.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 <tbody>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass 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.+Pass Declarative Shadow DOM as a child of <tfoot>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <th>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <thead>, 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.+Pass Declarative Shadow DOM as a child of <tr>, with mode=closed, delegatesFocus=false. Should be disallowed.+Pass Declarative Shadow DOM as a child of <track>, 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 <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.Pass Declarative Shadow DOM as a child of <blockquote>, with mode=invalid, delegatesFocus=false. Should be disallowed.@@ -348,20 +347,20 @@ Pass Declarative Shadow DOM as a child of <span>, with mode=open, delegatesFocusPass 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.+Pass Declarative Shadow DOM as a child of <area>, 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.+Pass Declarative Shadow DOM as a child of <base>, 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.+Pass Declarative Shadow DOM as a child of <br>, 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.+Pass Declarative Shadow DOM as a child of <caption>, 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.+Pass Declarative Shadow DOM as a child of <col>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <colgroup>, 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.@@ -372,28 +371,28 @@ Pass Declarative Shadow DOM as a child of <dialog>, with mode=open, delegatesFocPass 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.+Pass Declarative Shadow DOM as a child of <embed>, 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.+Pass Declarative Shadow DOM as a child of <head>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <hr>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <html>, 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.+Pass Declarative Shadow DOM as a child of <img>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <input>, 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.+Pass Declarative Shadow DOM as a child of <link>, 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 <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.Pass Declarative Shadow DOM as a child of <object>, with mode=open, delegatesFocus=true. Should be disallowed.@@ -401,7 +400,7 @@ Pass Declarative Shadow DOM as a child of <ol>, with mode=open, delegatesFocus=tPass 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.+Pass Declarative Shadow DOM as a child of <param>, 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.Pass Declarative Shadow DOM as a child of <q>, with mode=open, delegatesFocus=true. Should be disallowed.@@ -414,28 +413,28 @@ Pass Declarative Shadow DOM as a child of <script>, with mode=open, delegatesFocPass Declarative Shadow DOM as a child of <select>, 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.+Pass Declarative Shadow DOM as a child of <source>, 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.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 <tbody>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass 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.+Pass Declarative Shadow DOM as a child of <tfoot>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <th>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <thead>, 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.+Pass Declarative Shadow DOM as a child of <tr>, with mode=open, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <track>, 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 <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.Pass Declarative Shadow DOM as a child of <blockquote>, with mode=closed, delegatesFocus=true. Should be safelisted.@@ -456,20 +455,20 @@ Pass Declarative Shadow DOM as a child of <span>, with mode=closed, delegatesFocPass 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.+Pass Declarative Shadow DOM as a child of <area>, 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.+Pass Declarative Shadow DOM as a child of <base>, 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.+Pass Declarative Shadow DOM as a child of <br>, 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.+Pass Declarative Shadow DOM as a child of <caption>, 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.+Pass Declarative Shadow DOM as a child of <col>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <colgroup>, 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.@@ -480,28 +479,28 @@ Pass Declarative Shadow DOM as a child of <dialog>, with mode=closed, delegatesFPass 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.+Pass Declarative Shadow DOM as a child of <embed>, 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.+Pass Declarative Shadow DOM as a child of <head>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <hr>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <html>, 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.+Pass Declarative Shadow DOM as a child of <img>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <input>, 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.+Pass Declarative Shadow DOM as a child of <link>, 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 <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.Pass Declarative Shadow DOM as a child of <object>, with mode=closed, delegatesFocus=true. Should be disallowed.@@ -509,7 +508,7 @@ Pass Declarative Shadow DOM as a child of <ol>, with mode=closed, delegatesFocusPass 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.+Pass Declarative Shadow DOM as a child of <param>, 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.Pass Declarative Shadow DOM as a child of <q>, with mode=closed, delegatesFocus=true. Should be disallowed.@@ -522,28 +521,28 @@ Pass Declarative Shadow DOM as a child of <script>, with mode=closed, delegatesFPass Declarative Shadow DOM as a child of <select>, 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.+Pass Declarative Shadow DOM as a child of <source>, 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.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 <tbody>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass 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.+Pass Declarative Shadow DOM as a child of <tfoot>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <th>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <thead>, 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.+Pass Declarative Shadow DOM as a child of <tr>, with mode=closed, delegatesFocus=true. Should be disallowed.+Pass Declarative Shadow DOM as a child of <track>, 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 <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.Pass Declarative Shadow DOM as a child of <blockquote>, with mode=invalid, delegatesFocus=true. Should be disallowed.