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

Events do not have "default action"s #6

Closed
domenic opened this issue Aug 14, 2016 · 8 comments
Closed

Events do not have "default action"s #6

domenic opened this issue Aug 14, 2016 · 8 comments

Comments

@domenic
Copy link

domenic commented Aug 14, 2016

The concept is not defined.

Probably instead what you want to do is define an algorithm for performing certain operations. During the course of that algorithm, fire the event. Then, check if the event has been canceled. If not, perform other actions.

@johanneswilm
Copy link
Contributor

@domenic The UI-Events spec defines "default action". Would you think it would be OK if I used that definition? https://w3c.github.io/uievents/#default-action

@annevk
Copy link
Member

annevk commented Aug 15, 2016

No, that is wrong too. 😞

@annevk annevk reopened this Aug 15, 2016
@johanneswilm
Copy link
Contributor

@annevk: Could you be more specific? What is wrong about the definition in UI events that is currently used?

@annevk
Copy link
Member

annevk commented Aug 15, 2016

It's not actually a thing that is part of the DOM event model.

@johanneswilm
Copy link
Contributor

johanneswilm commented Aug 15, 2016

Ok, so it's also wrong the way it's used in the UI Events spec?

@annevk
Copy link
Member

annevk commented Aug 15, 2016

Yes.

@johanneswilm
Copy link
Contributor

johanneswilm commented Aug 15, 2016

Given that we really just expand upon events defined in UI Events, I wonder if it could be changed in UI events, and we just reference the new definition there? @garykac What do you think?

@johanneswilm
Copy link
Contributor

This issue was moved to w3c/uievents#104

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

3 participants