This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18794 - [Templates]: Setting HTMLTemplateElement.innerHTML should append fragment to content
Summary: [Templates]: Setting HTMLTemplateElement.innerHTML should append fragment to ...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 15476
  Show dependency treegraph
 
Reported: 2012-09-06 18:57 UTC by Adam Klein
Modified: 2012-10-03 00:27 UTC (History)
1 user (show)

See Also:


Attachments

Description Adam Klein 2012-09-06 18:57:55 UTC
innerHTML is specced in DOM Parsing and Serialization: http://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#widl-Element-innerHTML. The algorithm for getting already does the right thing (thanks to the template spec's addition to the HTML fragment serialization algorithm). But setting needs to modify step 2 to append to HTMLTemplateElement.content if the context element is a template element.
Comment 1 Rafael Weinstein 2012-10-03 00:27:11 UTC
http://dvcs.w3.org/hg/webcomponents/rev/dac95f780623