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 16984 - [Shadow]: innerHTML parsing context is incorrect
Summary: [Shadow]: innerHTML parsing context is incorrect
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: 17050
  Show dependency treegraph
 
Reported: 2012-05-07 18:20 UTC by Dimitri Glazkov
Modified: 2012-05-14 18:00 UTC (History)
1 user (show)

See Also:


Attachments

Description Dimitri Glazkov 2012-05-07 18:20:27 UTC
"operates as specified, given ShadowRoot as the context object."

This ain't right. ShadowRoot would make a terrible parsing context object. What we need instead is assume no context.
Comment 1 Dominic Cooney 2012-05-07 23:47:05 UTC
Shouldn’t the host provide the parsing context?
Comment 2 Dimitri Glazkov 2012-05-08 16:08:05 UTC
(In reply to comment #1)
> Shouldn’t the host provide the parsing context?

Suppose there's a shadow subree on a div, which is supposed to go into a shadow insertion point inside of a table. Looking at the host, the innerHTML assume "in-body" and ignore the in-table tokens.
Comment 3 Dimitri Glazkov 2012-05-14 18:00:14 UTC
http://dvcs.w3.org/hg/webcomponents/rev/b8d310e75809

I changed the context to host, since we don't yet have a spec with no context that I can refer to.
Comment 4 Dimitri Glazkov 2012-05-14 18:00:29 UTC
http://dvcs.w3.org/hg/webcomponents/rev/b8d310e75809

I changed the context to host, since we don't yet have a spec with no context that I can refer to.