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

User interacted flag gets set when change events are set, but tests disagree #10012

Closed
emilio opened this issue Dec 20, 2023 · 0 comments
Closed

Comments

@emilio
Copy link
Contributor

emilio commented Dec 20, 2023

What is the issue with the HTML Standard?

This test: https://github.com/web-platform-tests/wpt/blob/a41c93e155/css/selectors/user-invalid.html#L120-L152

Claims:

A required input or textarea should match :user-invalid if a user types into it and then clears it before blurring.

But I don't think there's spec text backing that out.

I think the tested behavior is reasonable, probably https://html.spec.whatwg.org/#focus-update-steps should set the user-interacted flag

@emilio emilio closed this as completed Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant