New issue
Advanced search Search tips

Issue 818791 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 818792
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

template.insertAdjacentHTML() not consider as a part of template.contant

Reported by pery.mi...@gmail.com, Mar 5 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3346.8 Safari/537.36

Steps to reproduce the problem:
1. tmpl = document.createElement('template') 
2. tmpl.insertAdjacentHTML('afterbegin','<div> foo </div>')
3. tmpl.content

What is the expected behavior?
tmpl.content should return a document-fragment that contain 
'<div> foo </div>'. 
or tmpl.innerHTML should be equal to `<div> foo </div>`

What went wrong?
tmpl.content return empty document-fragment
and tmpl.innerHTML are empty 

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 66.0.3346.8  Channel: stable
OS Version: 10.0
Flash Version:
 
reportbug.js
116 bytes View Download
Mergedinto: 818792
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment