Fix a null reference in declarative shadow dom
Previously, this would cause a null-reference: <template shadowroot=open>Content</template> This is now fixed. In addition, this CL adds two more tests of declarative shadow dom, for the two conditions listed at [1] and [2]. The [2] condition test also tests this CL. [1] https://github.com/mfreed7/declarative-shadow-dom/blob/master/README.md#root-element-is-template-shadowroot [3] https://github.com/mfreed7/declarative-shadow-dom/blob/master/README.md#templates-containing-root-level-declarative-shadow-roots Bug: 1042130 Change-Id: Id697fb3f89681981ca3ecc513451d0644430fd2b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2166357 Commit-Queue: Kouhei Ueno <kouhei@chromium.org> Auto-Submit: Mason Freed <masonfreed@chromium.org> Reviewed-by:Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/master@{#762842}
Showing
Please register or sign in to comment