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

Test input element directionality is only submitted for text and search type #39664

Merged
merged 7 commits into from
May 15, 2023

Conversation

vinhill
Copy link
Contributor

@vinhill vinhill commented Apr 24, 2023

This is in reference to html issue 9206

The standard currently does not enforce that for input elements, the directionality only applies for text and search types. I currently work on changing this and this pull request provides a test for the coming change.

@vinhill
Copy link
Contributor Author

vinhill commented Apr 24, 2023

See pull request for WHATWG HTML 9207

Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add coverage for textarea too?

Stretch goal: might also want to add coverage for new FormData(form).

Stretch goal 2: factor out the shared bits of scripts in this directory into a resources/dirname.js or some such and move dirname-ltr-iframe.html into that directory too.

@vinhill
Copy link
Contributor Author

vinhill commented Apr 26, 2023

Made the changes and simplified the shared parts a bit, I hope the commit is not too large.

In the future, we could also test the textarea element in all other dirname test files. My suggestion is that I'll submit those changes when I get to implementing dirname on textarea in firefox.

@vinhill vinhill requested a review from annevk April 26, 2023 09:39
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, happy to land this with some minor nits addressed.

@vinhill vinhill requested a review from annevk May 8, 2023 13:28
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up and sorry for the delay.

@annevk annevk merged commit 7b07495 into web-platform-tests:master May 15, 2023
20 checks passed
@vinhill vinhill deleted the dirname-input branch May 15, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants