Distributed slot fallback content from Document tree is not counted properly |
||||
Issue description
When slot fallback content is distributed from Document tree
to a shadow tree, getting distributed content via
slot.assignedNodes({flatten: true}) should return the content
distributed from Document.
E.g. in Document
<div>
<#shadow-root>
<slot></slot>
</#shadow-root>
<slot>
<div>Fallback content</div>
</slot>
</div>
POC online: http://jsbin.com/yiwaxaqexo/edit?html,js,console,output
,
Apr 27 2017
Could you write web platform tests? If we find any interoperable issues between UAs, it would be nice to have a test for that.
,
Apr 28 2017
Created a pull request https://github.com/w3c/web-platform-tests/pull/5726
,
Apr 28 2017
,
Apr 28 2017
Thank you for making PR. I have merged it.
,
May 2 2017
The CL is ready but I'm waiting for upstream WPT to be imported. https://codereview.chromium.org/2842263004/
,
Jun 9 2017
With the recent spec change, slots in non-shadow tree no longer need to treat fallback contents in the same way as slots in shadow tree. https://github.com/whatwg/dom/pull/459
,
Aug 30 2017
cc elkurin@ FYI |
||||
►
Sign in to add a comment |
||||
Comment 1 by kochi@chromium.org
, Apr 27 2017