Issue metadata
Sign in to add a comment
|
[bug?] DevTools doesn't show distributed children inside <slot> elements when using v1 ShadowDOM API.
Reported by
trusktr@gmail.com,
Oct 12 2016
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 Steps to reproduce the problem: 1. Put some HTML content inside a parent. 2. Give the parent an open or closed shadow root containing a <slot> with no name. Create this shadow root using v1's `attachShadow` method. 3. Open DevTools. 4. Inspect the shadow root and look at the <slot> element. 5. Observe it does not show distributed children. 6. Repeat steps 1 to 4, but using v0 API and <content> instead of <slot>, then observe that we do see distributed children. What is the expected behavior? It should show distributed children? What went wrong? It doesn't. But, when using v0 API and <content> elements, we do see distributed children. Attached are two screenshots. One shows an empty <slot> element when using v1 API, and the other shows distributed children in a <content> element when using v0 API. Note, although the DevTools doesn't show the v1 distributed children, it still functionally works (I still see the expected result in the visual output). Did this work before? Yes Not sure, but it works with v0 API. Chrome version: 53.0.2785.116 Channel: stable OS Version: OS X 10.10.2 Flash Version: Shockwave Flash 23.0 r0
,
Oct 27 2016
Should be working in 55! Could you please take a look on Chrome Canary?
,
Oct 28 2016
,
Oct 28 2016
Yep, it works! |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by alph@chromium.org
, Oct 12 2016Status: Assigned (was: Unconfirmed)