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

Testing CSS caret-animation is challenging #48882

Open
schenney-chromium opened this issue Oct 30, 2024 · 0 comments
Open

Testing CSS caret-animation is challenging #48882

schenney-chromium opened this issue Oct 30, 2024 · 0 comments

Comments

@schenney-chromium
Copy link
Contributor

The CSS caret-animation property controls caret blinking behavior, but different platforms blink at different rates, and the timing of the test can impact the exact time the caret starts to blink. It is then very hard to write tests that pass on all platforms and are not flaky.

Maybe it is possible to add js hooks to test this feature reliably, although in practice it will never be possible to test the real browser behavior (similar to spell checking testing, for example).

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

1 participant