Skip to content
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

Better define what goes in the compat spec #261

Open
karlcow opened this issue Dec 28, 2023 · 1 comment
Open

Better define what goes in the compat spec #261

karlcow opened this issue Dec 28, 2023 · 1 comment

Comments

@karlcow
Copy link
Member

karlcow commented Dec 28, 2023

What is the issue with the Compatibility Standard?

There has been a bit of pressure in some issues these last couple of months on things that should be added to the compat specification.

Currently the spec says:

This standard describes a collection of web platform features that web browsers need to support for compatibility with the de facto web.

That's a good and simple definition.

I wonder if we should add a couple of words to the README.md to frame a bit more the decision criteria for adding something or not.

To reformulate what is written above, we could add to the README.md something along:


The Compat Standards describe a set of technologies that

  1. Browsers need to implement to be compatible with the Web as-is.
  2. No Working Groups have an intent to make it into their specs at the moment.

This is not a place to document interoperability differences in between browsers, or what needs to be solved in between browsers so that the Web would work better. This kind of work has to be done and published usually in WICG or Interop Investigation Areas.


One section of the compat spec is unfortunately going against this criteria. The User Agent strings section, which document the way the browser exposes the UA strings. It doesn't make the Web more compatible Web. I wonder if retrospectively it was a mistake to put it here. Maybe we should revise this too, to avoid the ambiguity described above.

@miketaylr
Copy link
Member

I wonder if retrospectively it was a mistake to put it here. Maybe we should revise this too, to avoid the ambiguity described above.

I think I disagree, which is probably not surprising! Maybe it's the way that things are defined, but HTML has a very similar concept: https://html.spec.whatwg.org/multipage/system-state.html#concept-navigator-compatibility-mode

One option is to redefine things in terms of navigator compatibility mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants