This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14983 - [Decorators]: Consider limiting decorator application by element type
Summary: [Decorators]: Consider limiting decorator application by element type
Status: RESOLVED MOVED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14973
  Show dependency treegraph
 
Reported: 2011-11-28 23:37 UTC by Dimitri Glazkov
Modified: 2015-07-06 08:18 UTC (History)
0 users

See Also:


Attachments

Description Dimitri Glazkov 2011-11-28 23:37:22 UTC
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" ...>
Comment 1 Hayato Ito 2015-07-06 08:18:32 UTC
Moved to https://github.com/w3c/webcomponents/issues/264