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

inflexible extends as fixed element type #33

Closed
rjharmon opened this issue Jan 25, 2015 · 1 comment
Closed

inflexible extends as fixed element type #33

rjharmon opened this issue Jan 25, 2015 · 1 comment

Comments

@rjharmon
Copy link

I'd like to be able to specify any type (or perhaps certain types) of tags, with is= to augment functionality of any element. The initialization sequence I'm imagining is passed the native element instance, and then the component would be able to add its own capabilities to that instance's prototype chain (could also choose to prepare the prototype chain so that element.prototype is already distinguished from that element's native prototype, as a helpful refinement to developers).

A similar technique could be used to add multiple mixins to a tag, assuming they'd been designed them to be complementary/concerned with orthogonal aspects of the markup/content. I think of that as with= rather than is=.

@dglazkov
Copy link
Contributor

dglazkov commented Mar 7, 2015

@rjharmon, this bug tracker is not used for spec bugs. Please use the link in the spec to file new bugs. Transferred your bug over there: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28158

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

2 participants