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

Selection.direction doesn't handle multiple ranges #171

Open
smaug---- opened this issue Mar 4, 2024 · 2 comments
Open

Selection.direction doesn't handle multiple ranges #171

smaug---- opened this issue Mar 4, 2024 · 2 comments

Comments

@smaug----
Copy link

Currently Selection API is for single range only, but there are many methods which in theory could support multiple ranges (like the implementation in Gecko supports). But the Selection.direction attribute deals with a single range only.

@rniwa
Copy link
Contributor

rniwa commented Mar 4, 2024

Are you saying that there could be multiple directions in the case of a multi-range selection?

@smaug----
Copy link
Author

Each range can be created in their own direction yes.

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