Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hayatoito opened this issue Jul 6, 2015 · 1 comment

Comments

@hayatoito
Copy link
Contributor

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" ...>

@hayatoito
Copy link
Contributor Author

Let me close this bug since the decorator was dead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant