-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add a test for :autofill. #27098
Add a test for :autofill. #27098
Conversation
I think we can also test how |
Sure, though I made |
I added a test for
(without details on how that works). I also expect it to matter little to nothing wrt compat. We implement most other -webkit-/moz things as parse-time changes into the standard thing, though at least in WebKit there's precedent for preserving the serialization of some legacy things (like |
I do think we should figure out the serialization of such aliases, and get it specced somewhere and tested, but I can understand if that's a low priority for the CSSWG and various browsers. (And it doesn't block adding these to HTML, IMO.) We may also want to file a bug (on this repo) about making autofill more testable, just so the WPT team has a good insight into what untestable things are out there. |
Filed w3c/csswg-drafts#5847.
|
What about testing the serialization but allowing both possibilities (for now)? test_valid_selector(":autofill");
test_valid_selector(":-webkit-autofill", [":-webkit-autofill", ":autofill"]); |
There's no way to trigger autofilling from WPT so this is as much as we can test.
Sure, sounds great, done :) |
I added the CSSWG issue to the agenda, and will edit the test as needed once there's a resolution on that. |
Spec PR at whatwg/html#6273 Tests at web-platform-tests/wpt#27098 Differential Revision: https://phabricator.services.mozilla.com/D101148
Spec PR at whatwg/html#6273 Tests at web-platform-tests/wpt#27098 Differential Revision: https://phabricator.services.mozilla.com/D101148
Spec PR at whatwg/html#6273 Tests at web-platform-tests/wpt#27098 Differential Revision: https://phabricator.services.mozilla.com/D101148 UltraBlame original commit: 28268df8154dad7a2e686ff95ad5559a46316cbf
There's no way to trigger autofilling from WPT so this is as much as we
can test.