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

How should UAs handle web authors setting dropEffect values? #10336

Open
ragoulik opened this issue May 8, 2024 · 0 comments
Open

How should UAs handle web authors setting dropEffect values? #10336

ragoulik opened this issue May 8, 2024 · 0 comments

Comments

@ragoulik
Copy link

ragoulik commented May 8, 2024

The drag and drop spec specifies how the dropEffect value should be set by UAs for different events here: https://html.spec.whatwg.org/multipage/dnd.html#dndevents. However, the spec is not explicit about the following:

  • Should UAs allow authors to set the dropEffect value to any valid value?
  • If authors can set the dropEffect value, should UAs reflect that choice in the visual drop effect? For example, in dragenter event, if effectAllowed is copyMove and UA’s preferred value is copy but web author sets it to move, should this be reflected in attribute value?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants
@sanketj @ragoulik and others