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

Initial value of selectionDirection #4541

Closed
tkent-google opened this issue Apr 19, 2019 · 0 comments · Fixed by #4572
Closed

Initial value of selectionDirection #4541

tkent-google opened this issue Apr 19, 2019 · 0 comments · Fixed by #4572
Assignees
Labels
clarification Standard could be clearer topic: forms

Comments

@tkent-google
Copy link
Collaborator

It seems the current HTML specification doesn't define the initial value of selectionDirection.

The initial state of INPUT and TEXTAREA is "a text entry cursor at the beginning of the control." selectionStart and selectionEnd in a case of text entry cursor are defined, but selectionDirection is not defined in such case.

Actual initial value in major UAs is "none" if the platform supports it, or "forward". I remember some of WPT tests already imply it.

@tkent-google tkent-google added clarification Standard could be clearer topic: forms labels Apr 24, 2019
domenic added a commit that referenced this issue Apr 26, 2019
@domenic domenic self-assigned this Apr 26, 2019
domenic added a commit that referenced this issue Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarification Standard could be clearer topic: forms
Development

Successfully merging a pull request may close this issue.

2 participants