speced / speced-cg

Specification Editors CG main repository
6 stars 0 forks source link

Show WPT results in specs? #30

Open marcoscaceres opened 2 years ago

marcoscaceres commented 2 years ago

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:

ericprud commented 2 years ago
  • 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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

Updated WPT view:

Screen Shot 2022-03-09 at 5 22 17 pm
marcoscaceres commented 2 years ago

Some more...

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