Bug 1890428 - Add shadowrootserializable attribute. r=dom-core,hsivonen

Differential Revision: https://phabricator.services.mozilla.com/D206954
This commit is contained in:
Adam Vandolder
2024-05-14 16:43:27 +00:00
parent 2f16fa6641
commit 7c3aa4aeb8
8 changed files with 587 additions and 571 deletions

View File

@@ -1709,7 +1709,7 @@ void nsHtml5TreeBuilder::setDocumentFragmentForTemplate(
nsIContentHandle* nsHtml5TreeBuilder::getShadowRootFromHost(
nsIContentHandle* aHost, nsIContentHandle* aTemplateNode,
nsHtml5String aShadowRootMode, bool aShadowRootIsClonable,
bool aShadowRootDelegatesFocus) {
bool aShadowRootIsSerializable, bool aShadowRootDelegatesFocus) {
mozilla::dom::ShadowRootMode mode;
if (aShadowRootMode.LowerCaseEqualsASCII("open")) {
mode = mozilla::dom::ShadowRootMode::Open;