You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compat2021 is the predecessor to Interop2022. It defined 5 key areas where interop was not good enough between browsers, as backed up by strong evidence from developer surveys. All five areas are fully supported features from all browser engines.
Over the course of 2021, there has been excellent progress in the score for all three browser rendering engines. All three are above 90% at this point for their tip-of-tree implementations, whereas at the beginning of the year none were. (Note: the Safari score on the current website is not accurate, due to a technical complication; the actual score is about 92).
I would like to propose that the Compat2021 areas be included as part of the Interop2022 score. This will reinforce that we want interop to continue improving and be sustained for "last year's" metric, not just the new hotness.
Reacted by fantasai, davidsgrogan and Vladimir Agafonov
Strong +1. In particular, I think we still have work to do on Grid and Flexbox layout, and I wouldn't be surprised if there are some bugs and issues around aspect-ratio or postion:sticky, so it would be good to keep them at a high priority.
I think there's some overlap with #9 in that they are both looking for ways to include ongoing improvements to existing features rather than just focusing on implementing new functionality. I fully agree that this kind of priority is a good idea. However I don't think we should blindly roll over the existing tests/areas, for two reasons:
For Compat 2021 in particular there was less explicit buy-in on the focus areas. I think going forward everything should be held to the same standard. Obviously this wouldn't be such a concern in future iterations.
It makes sense to reassess the set of tests + etc. to ensure that any remaining failure are things that we think are likely to affect authors, and to ensure that we aren't missing any important cases that weren't included in Compat 2021 due to lack of coverage (i.e. where new tests have been written since the original list was picked).
Vetting the set of tests for Compat 2021 would be a good idea I think.
I like the model of including all tests in the latest metric, since it means there's just one metric at a time to focus on, but a downside is that over time, the new tests would account for less and less of the overall score. One could mitigate this by weighting new tests to be at least 50%, but that would also make the metric a bit harder to understand.
It will soon be easier to review the list of tests for Compat 2021. web-platform-tests/wpt-metadata#2196 is the first PR labeling some tests, using "interop-2021" as the label, and once that works I'll label all of them. Then it will be easy to filter out just the tests that are failing in some browser for review.
The labeling support has landed and I've added the interop-2021 labels. Here are all the tests from Compat 2021, and another view filtered to failing (non-passing) tests:
Also would be interesting to review would be what tests were excluded (modulo obvious cases, like subgrid and masonry for grid).
That said, there's probably an argument that if we want to do it as carry-over (in part to avoid massively regression scores of existing browsers), then we should just keep the same sets.
@jensimmonsaspect-ratio and the new behavior of width and height attributes are indeed not the same thing, but the latter is defined in terms of the former and tested using it as well. Having both tools available and interoperable seemed like a good idea, so we included the attributes under the aspect-ratio banner.
We can of course revisit this as part of this issue, if some of the tests aren't good.
Ecosystem-Infra/wpt-results-analysis#69 is another case for our consideration, where @stephenmcgruer discovered that two tests pass in Chrome Dev only because of --experimental-web-platform-features and that behavior isn't on its way to stable. I'd default to dropping those tests, but it would be good to get the input of other browser vendors on the behavior in question.
One the transforms tests have any failures. @chrishtr you added these tests in web-platform-tests/wpt#23865, can you help check if they should still be tentative?
I would guess the test is OK since it passes in Chrome and Firefox, but this might be worth looking into for someone on the WebKit team, just in case it's a bad test that needs fixing.
Activity
fantasai commentedon Nov 3, 2021
Strong +1. In particular, I think we still have work to do on Grid and Flexbox layout, and I wouldn't be surprised if there are some bugs and issues around aspect-ratio or postion:sticky, so it would be good to keep them at a high priority.
jgraham commentedon Nov 11, 2021
I think there's some overlap with #9 in that they are both looking for ways to include ongoing improvements to existing features rather than just focusing on implementing new functionality. I fully agree that this kind of priority is a good idea. However I don't think we should blindly roll over the existing tests/areas, for two reasons:
foolip commentedon Nov 11, 2021
Vetting the set of tests for Compat 2021 would be a good idea I think.
I like the model of including all tests in the latest metric, since it means there's just one metric at a time to focus on, but a downside is that over time, the new tests would account for less and less of the overall score. One could mitigate this by weighting new tests to be at least 50%, but that would also make the metric a bit harder to understand.
foolip commentedon Nov 18, 2021
Added label to mean that we should revisit the tests, not that we don't know what they are.
foolip commentedon Nov 22, 2021
It will soon be easier to review the list of tests for Compat 2021. web-platform-tests/wpt-metadata#2196 is the first PR labeling some tests, using "interop-2021" as the label, and once that works I'll label all of them. Then it will be easy to filter out just the tests that are failing in some browser for review.
foolip commentedon Nov 24, 2021
The labeling support has landed and I've added the
interop-2021labels. Here are all the tests from Compat 2021, and another view filtered to failing (non-passing) tests:jensimmons commentedon Nov 29, 2021
Digging into the tests, it’s interesting to see that Compat 2021 included both:
aspect-ratioThose are two very different things. Only the first one was written up in the publicity about this project. But there are tests for both.
Interesting.
gsnedders commentedon Nov 29, 2021
Also would be interesting to review would be what tests were excluded (modulo obvious cases, like subgrid and masonry for grid).
That said, there's probably an argument that if we want to do it as carry-over (in part to avoid massively regression scores of existing browsers), then we should just keep the same sets.
foolip commentedon Nov 30, 2021
Commented out lines and comments in these files might help:
https://raw.githubusercontent.com/Ecosystem-Infra/wpt-results-analysis/main/compat-2021/aspect-ratio-tests.txt
https://raw.githubusercontent.com/Ecosystem-Infra/wpt-results-analysis/main/compat-2021/css-flexbox-tests.txt
https://raw.githubusercontent.com/Ecosystem-Infra/wpt-results-analysis/main/compat-2021/css-grid-tests.txt
https://raw.githubusercontent.com/Ecosystem-Infra/wpt-results-analysis/main/compat-2021/css-transforms-tests.txt
https://raw.githubusercontent.com/Ecosystem-Infra/wpt-results-analysis/main/compat-2021/position-sticky-tests.txt
Pulling out the linked docs/spreadsheets:
foolip commentedon Nov 30, 2021
@jensimmons
aspect-ratioand the new behavior ofwidthandheightattributes are indeed not the same thing, but the latter is defined in terms of the former and tested using it as well. Having both tools available and interoperable seemed like a good idea, so we included the attributes under theaspect-ratiobanner.We can of course revisit this as part of this issue, if some of the tests aren't good.
foolip commentedon Nov 30, 2021
In Ecosystem-Infra/wpt-results-analysis#66 @dholbert found an excluded a Houdini-dependent transforms test. I've merged the PR to retroactively exclude it, but we should consider including this test instead:
https://wpt.fyi/results/css/css-transforms/animation/transform-interpolation-inline-value.html
6 remaining items
foolip commentedon Dec 1, 2021
Thanks for looking into this, @emilio! I've sent web-platform-tests/wpt#31805 to rename the test and requested your review.
gsnedders commentedon Dec 1, 2021
Apple does not comment on future products or releases.
foolip commentedon Dec 1, 2021
@gsnedders 😄
I take that to mean it requires some changes to Safari or safaridriver, I wasn't sure if it might be a matter of wptrunner bits only.
So, if anyone, for any reason or no reason, wants to drop print reftests from the test list, I think we should do that.
foolip commentedon Dec 2, 2021
Ecosystem-Infra/wpt-results-analysis#69 is another case for our consideration, where @stephenmcgruer discovered that two tests pass in Chrome Dev only because of
--experimental-web-platform-featuresand that behavior isn't on its way to stable. I'd default to dropping those tests, but it would be good to get the input of other browser vendors on the behavior in question.[-]Compat2021 carryover[/-][+]Compat 2021 carryover[/+]gsnedders commentedon Dec 14, 2021
We should probably at least triage https://wpt.fyi/results/?label=master&label=stable&product=chrome&product=firefox&product=safari&aligned&q=label%3Ainterop-2021%20count%3A3%28status%3A%21pass%26status%3A%21ok%29 (i.e., tests that fail in stable releases of all three major engines).
foolip commentedon Jan 10, 2022
These are all labeled now:
interop-2021-aspect-ratiointerop-2021-flexboxinterop-2021-gridinterop-2021-position-stickyinterop-2021-transformsQuery for all of these labels together
foolip commentedon Jan 20, 2022
Given no pushback on #2 (comment), I have dropped the print reftests in Ecosystem-Infra/wpt-results-analysis@f805a0e + web-platform-tests/wpt-metadata#2403.
foolip commentedon Jan 20, 2022
A live list of remaining tentative tests is here:
https://wpt.fyi/results/css?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&q=tentative%20%28label%3Ainterop-2021-aspect-ratio%20or%20label%3Ainterop-2021-flexbox%20or%20label%3Ainterop-2021-grid%20or%20label%3Ainterop-2021-position-sticky%20or%20label%3Ainterop-2021-transforms%29
One the transforms tests have any failures. @chrishtr you added these tests in web-platform-tests/wpt#23865, can you help check if they should still be tentative?
foolip commentedon Jan 20, 2022
One Grid test from Interop 2021 came up in #48:
I would guess the test is OK since it passes in Chrome and Firefox, but this might be worth looking into for someone on the WebKit team, just in case it's a bad test that needs fixing.