You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
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.
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.
If
<template>
is rendered by glimmer, itscontent
(DocumentFragment) results to be empty.Tried on ember 3.18 (ember-twiddle), 3.28 (local), and try.glimmerjs.com.
Reproduction:
document.getElementById('a').content.children
.Expected:
HTMLCollection(2) [div, div]
Actual: empty
HTMLCollection []
I could be wrong, but it seems to me that glimmer renders
<template>
like a normalHTMLElement
, doingtemplateElement.appendChild
instead oftemplateElement.content.appendChild
, or so.Chrome:
Firefox:
Failing test: #370.
The text was updated successfully, but these errors were encountered: