[webcomponents] [Decorators]: Consider limiting decorator application by element type (bugzilla: 14983) (#264)

Title: [Decorators]: Consider limiting decorator application by element type (bugzilla: 14983)

Migrated from: https://www.w3.org/Bugs/Public/show_bug.cgi?id=14983

----
comment: 0
comment_url: https://www.w3.org/Bugs/Public/show_bug.cgi?id=14983#c0
*Dimitri Glazkov* wrote on 2011-11-28 23:37:22 +0000.

To avoid spurious type-checking at runtime, we should consider providing a way to declare that a decorator only applies to a certain type of elements:

\<decorator for="button" ...>

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/264

Received on Monday, 6 July 2015 07:44:56 UTC