Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Show WPT results in specs? #30

Open
marcoscaceres opened this issue Feb 3, 2022 · 5 comments
Open

Show WPT results in specs? #30

marcoscaceres opened this issue Feb 3, 2022 · 5 comments

Comments

@marcoscaceres
Copy link
Contributor

marcoscaceres commented Feb 3, 2022

Part of "ClearSpec" project. CC @plehegar @sideshowbarker

The idea is to give a better indication of browser support for a particular spec. The can be done by showing the results from WPT.

Bikeshed is experimenting with:
https://drafts.csswg.org/css-conditional-4/

and ReSpec has an experimental PR:
https://github.com/w3c/respec/pull/3870

There are significant limitations:

  • Only desktop browsers
  • WTP only has data on some browsers, but not all browsers (e.g., no Brave)
  • Only particular version of browsers
  • If data is static, once on TR, the results will be out of date.
@ericprud
Copy link
Contributor

ericprud commented Feb 3, 2022

  • If data is static, once on TR, the results will be out of date.

Maybe the ideal is to stick a snapshot in the implementation report, which folks expect to be static, and have live links to wpt in the text. That's great until son-of-wpt gets all the attention and wpt gets out of date (worse if someone gets the domain name). This could kinda be solved with an indirectly where sections in a REC point to a page which includes live wpt links. If wpt gets replaced with something cooler or some miscreant pwns wpt, we can laboriously update those indirect pages to point to something else.

@marcoscaceres
Copy link
Contributor Author

For record keeping, MDN has both Desktop and Mobile data... (some) specs already show this data inline.

Screen Shot 2022-02-08 at 3 41 46 pm

@marcoscaceres
Copy link
Contributor Author

Collecting screenshots.... MDN boxes:

Screen Shot 2022-03-09 at 5 01 55 pm

Can I use:

Screen Shot 2022-03-09 at 5 07 24 pm

@marcoscaceres
Copy link
Contributor Author

Updated WPT view:
Screen Shot 2022-03-09 at 5 22 17 pm

@marcoscaceres
Copy link
Contributor Author

marcoscaceres commented Mar 11, 2022

Some more...

Screen Shot 2022-03-11 at 3 47 41 pm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants