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

Don't deprecate Attr.Data #2

Closed
johannesegger opened this issue Nov 22, 2015 · 2 comments
Closed

Don't deprecate Attr.Data #2

johannesegger opened this issue Nov 22, 2015 · 2 comments

Comments

@johannesegger
Copy link

The html attribute data seems to be deprecated, but I still use it for showing e.g. a pdf:

<object data="path/to/file.pdf" />
@Tarmil
Copy link
Member

Tarmil commented Nov 24, 2015

Indeed I am not quite sure why it is in Deprecated. This module is for attributes that are deprecated by the HTML5 standard, but after looking up, data doesn't seem to be one of them. Unfortunately we can't move it to the Attr module, since there is already a Data function there which is used to create data-foo attributes. Not to worry though, even though the module is called Deprecated it is not planned for deletion at any point in the future.

@johannesegger
Copy link
Author

I see, then it's not a problem, thanks for clarification.

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