This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
<template> html tag is rendered incorrectly #369
Open
Description
If <template> is rendered by glimmer, its content (DocumentFragment) results to be empty.
Tried on ember 3.18 (ember-twiddle), 3.28 (local), and try.glimmerjs.com.
Reproduction:
- Go to demo on https://try.glimmerjs.com/
- Inspect
document.getElementById('a').content.children.
Expected:HTMLCollection(2) [div, div]
Actual: emptyHTMLCollection []
I could be wrong, but it seems to me that glimmer renders <template> like a normal HTMLElement, doing templateElement.appendChild instead of templateElement.content.appendChild, or so.
Failing test: #370.
Metadata
Metadata
Assignees
Labels
No labels

