Skip to content

Commit

Permalink
Recurse into shadow roots.
Browse files Browse the repository at this point in the history
This proposes to recurse into any shadow roots. This follows the
discussion at WICG#185
  • Loading branch information
otherdaniel committed Feb 23, 2023
1 parent b99d4b9 commit 3c09610
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,9 @@ algorithm collects these in one place.
<div algorithm="handle funky elements">
To <dfn>handle funky elements</dfn> on a given |element|, run these steps:

1. If |element| is a [=shadow host=]:
1. Run the steps of [=sanitize a document fragment=] algorithm on
|element|'s [=Element/shadow root=].
1. If |element|'s [=Element/namespace=] [=is=] [=HTML namespace|HTML=] and
the [=Element/local name=] [=is=] `"template"`:
1. Run the steps of the [=sanitize a document fragment=] algorithm on
Expand Down

0 comments on commit 3c09610

Please sign in to comment.