diff options
Diffstat (limited to 'parser/html/javasrc/TreeBuilder.java')
-rw-r--r-- | parser/html/javasrc/TreeBuilder.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/parser/html/javasrc/TreeBuilder.java b/parser/html/javasrc/TreeBuilder.java index 1fa67647e1..f7b70ee0da 100644 --- a/parser/html/javasrc/TreeBuilder.java +++ b/parser/html/javasrc/TreeBuilder.java @@ -2970,8 +2970,9 @@ public abstract class TreeBuilder<T> implements TokenHandler, return null; } + boolean shadowRootIsClonable = attributes.contains(AttributeName.SHADOWROOTCLONABLE); boolean shadowRootDelegatesFocus = attributes.contains(AttributeName.SHADOWROOTDELEGATESFOCUS); - return getShadowRootFromHost(currentNode, templateNode, shadowRootMode, shadowRootDelegatesFocus); + return getShadowRootFromHost(currentNode, templateNode, shadowRootMode, shadowRootIsClonable, shadowRootDelegatesFocus); } /** @@ -5418,7 +5419,8 @@ public abstract class TreeBuilder<T> implements TokenHandler, void setDocumentFragmentForTemplate(T template, T fragment) { } - T getShadowRootFromHost(T host, T template, String shadowRootMode, boolean shadowRootDelegatesFocus) { + T getShadowRootFromHost(T host, T template, String shadowRootMode, + boolean shadowRootIsClonable, boolean shadowRootDelegatesFocus) { return null; } |