- From: <bugzilla@jessica.w3.org>
- Date: Wed, 27 Nov 2013 21:47:11 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887
--- Comment #14 from Steve Orvell <sorvell@chromium.org> ---
> What is the real world use case for having non-final insertion points
> in the path?
I'll take a shot at this. Be kind, it's a little contrived. I start by making a
fancy-list element that has a shadowRoot with a <content> in it and I want to
see the events on my list items so I put a listener on the content element:
fancy-list
SR
<!-- decorations -->
<content select="li" onclick="handler()"></content>
It works and I'm happy. Then I decide to decorate my list with another element:
fancy-list
SR
<fancy-decoration>
<content onclick="handler()"></content>
</fancy-decoration>
I know that fancy-decoration will show my list items and it looks nice so it
makes fancy-list better.
Now I'm stuck because fancy-list unexpectedly stopped working. If I move the
event listener, it'll work, but do we really expect developers to understand
that they need to do this? This seems pretty arcane.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 27 November 2013 21:47:12 UTC