-
Notifications
You must be signed in to change notification settings - Fork 3k
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
The tests in css/css-ui/compute-kind-widget* are no longer justified by any spec test #33401
Comments
|
@zcorpan do you know the state here? |
|
The relevant PRs (whatwg/html#7004 and w3c/csswg-drafts#6537) have not yet been merged. I believe the remaining concerns were basically editorial, and that was the case also when this was considered for inclusion in Interop 2022. I'll see if I can nudge the PRs this week. |
|
Ah, I overlooked that they weren't merged yet. The current state makes it awkward to reference the spec text when making changes based on the tests, so it would be nice if they could be moved soon. Also, the PR claims that the spec change largely matches Gecko and Chromium with a bit of cleanup, but then, it's surprising all browsers fail these tests (or at least fail the same subset), see here: https://wpt.fyi/results/css/css-ui/compute-kind-widget-generated?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&q=label%3Ainterop-2022-forms Was this spec change intended to be an across-the-board behavior change in all browsers? |
|
These two (which I overlooked before) do pass but only in Firefox: Not sure if these cases are intended to remove widget styling or to not remove it; if they are supposed to maintain widget styling, how does that work, given that these are reftests, and browsers/platforms have different widget styling. |
|
The test results look more dire than the actual situation because they are reftests and each reftest tests all widgets. So a single bug in one of the widgets will fail almost all of the tests. We could split the tests, or maybe only split out the widgets that are failing in all browsers.
I can try to clarify what the expectation is. Meanwhile, if you look at the reference, is it not clear what the expectation is?
Indeed, that's why reftests work well here. For most tests, the reference uses the same widgets with either no styling applied or 'appearance: none' depending on what it expects to happen in the test. |
|
|
With the split tests it's more evident that Chrome currently passes all of the tests in |
…-widget tests, a=testonly Automatic update from web-platform-tests [css-ui] Split generated compute-kind-of-widget tests See web-platform-tests/wpt#33401 (comment) -- wpt-commits: 60d680ba69b597b87c606065c01b0709e8ef3971 wpt-pr: 33421
…-widget tests, a=testonly Automatic update from web-platform-tests [css-ui] Split generated compute-kind-of-widget tests See web-platform-tests/wpt#33401 (comment) -- wpt-commits: 60d680ba69b597b87c606065c01b0709e8ef3971 wpt-pr: 33421

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

The tests in css/css-us/compute-kind-widget*, which all browsers currently fail, don't seem to be justified by any current spec text. They were added in PR #30267 which cites whatwg/html#7004 , but that HTML PR text is in longer in the spec. The section of CSS Basic UI it references doesn't appear to exist any more.
These tests are included in Interop 2022 as part of the Forms category.
Assuming I didn't miss any new place that defines these requirements, I propose:
The text was updated successfully, but these errors were encountered: