- From: Kevin Schaaf via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Jan 2019 20:58:52 +0000
- To: public-css-archive@w3.org
@domenic I agree that for many leafy "widgets" along the lines that the UA ships, composition via light DOM is preferable for the reasons you list. There are probably still interesting cases to investigate that still expose this issue -- perhaps the "carousel" example is a good one to study: ```html <my-carousel> <img src="a.png"> <img src="b.png"> <img src="c.png"> </my-carousel> ``` In its shadow DOM, it might create a "dot" affordance in the shadow DOM for each light DOM item in the carousel, and swiping images changes the selected dot. I could see wanting to allow style `::part(dot)` and `::part(dot):state(selected)` separately. -- GitHub Notification of comment by kevinpschaaf Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3431#issuecomment-453251314 using your GitHub account
Received on Thursday, 10 January 2019 20:58:54 UTC