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 17608 - [Shadow]: contenteditable for distributed nodes
Summary: [Shadow]: contenteditable for distributed nodes
Status: RESOLVED INVALID
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: 18428
  Show dependency treegraph
 
Reported: 2012-06-26 19:09 UTC by Hayato Ito
Modified: 2012-07-27 22:29 UTC (History)
1 user (show)

See Also:


Attachments

Description Hayato Ito 2012-06-26 19:09:28 UTC
Suppose the following tree:

<div id='host' contenteditable>
  -- <shadow-root>
          <div id='node-in-shadow-root'>
              <content />
          </div>
  <div id='child-of-host'>hello</div>
</div>

"8.4 Editing" says 'The value of the contenteditable attribute must not propagate from shadow host to its shadow DOM subtrees.'

My question is 'Does the contenteditable attribute propagate from shadow host to its child node which is distributed into an insertion point?'.

My understanding is it should propagate. So the result should be:

#host: contenteditable
#node-in-shadowroot:  Is not contenteditable
#child-of-host: contentediable

Is my interpretation correct?
Comment 1 Dimitri Glazkov 2012-07-27 22:28:21 UTC
Yes, it does! Do we need additional language to make the spec more clear?
Comment 2 Dimitri Glazkov 2012-07-27 22:29:01 UTC
Please reopen if more work is needed.