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

Using lt="" instead of data-x="" #35

Open
annevk opened this issue Nov 25, 2016 · 4 comments
Open

Using lt="" instead of data-x="" #35

annevk opened this issue Nov 25, 2016 · 4 comments

Comments

@annevk
Copy link
Member

annevk commented Nov 25, 2016

I think the main problem with this is that at the moment our data-x="" usage is more akin to the usage of IDs whereas the intent of lt="" is to contain the authoritative term.

So we would need to change our existing data-x="" usage first to be more like what lt="" usage is like.

@zcorpan
Copy link
Member

zcorpan commented Nov 27, 2016

If we change usage maybe we should start using for at the same time?

@annevk
Copy link
Member Author

annevk commented Nov 28, 2016

That would be nice, though that also involves changing data structures and would be a little more complicated. We probably have to do that though. I guess we should also support dfn-type then?

@zcorpan
Copy link
Member

zcorpan commented Nov 28, 2016

Yeah.

@domenic
Copy link
Member

domenic commented Nov 28, 2016

Realizing that this would involve such a big change moves it down on the priority list to me. But, if we want to work on it, I guess the way to do so would be incremental, i.e. allow both for a long time.

A baby step would be allowing us to make our existing usages more concise. E.g. data-export="" -> export, data-dfn-type="event" -> event, etc.

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

No branches or pull requests

3 participants