Comments (7)
I totally agree with @wbamberg. Let's just keep an alphabetical order to be implementer neutral and make the order consistent.
Displaying the data is a totally different topic.
Sebastian
from browser-compat-data.
It seems like keeping the order alphabetical is the consensus decision. But let's keep this issue open until we have it enforced in the schema or some other validation method.
from browser-compat-data.
So first, the order of features and subfeatures in the JSON can be separated from the order of features and subfeatures in compat tables on MDN. The macros that build compat tables for MDN can (and should) reorder data to follow their policy (and other possible consumers might want to have a different policy).
But I think it makes sense to have some kind of defined order for both the raw data and the MDN compat tables.
I like alphabetizing, for two reasons really:
-
it's the simplest policy: it's a really easy rule for readers and contributors to understand. Ordering by implementation order (by Firefox, then Chrome, then...?) is more complicated to grasp.
-
choosing a browser to order by (Firefox) seems to be against a policy of browser-neutrality. Alphabetizing is neutral.
I do take your point that ordering by implementation version can help tell the story of how subfeatures were added. There are lots of features where this doesn't apply though, and in those cases, ordering by implementation version just seems arbitrary.
from browser-compat-data.
Can you provide more context please? Which macro are you talking about?
from browser-compat-data.
Assuming you are talking about rendering the data on MDN, currently sub-features appear in the order they occur in the raw data (the JSON files in this repository). As far as I'm concerned, this is fine, but I'd rather ensure the raw data to have a sane and consistent structure in the first place. Regardless of that, I think implementation order is more useful than alphabetic (or arbitrary) order, for reasons outlined above.
from browser-compat-data.
Oh, here's the corresponding issue for the macros: mdn/kumascript#193.
from browser-compat-data.
from browser-compat-data.
Related Issues (20)
- webextensions.api.userScripts - Chrome now supports userscripts HOT 2
- css.selectors.host - Discrepancies between the baseline widget and the full compatibility table HOT 1
- css.properties.font-family - < is not working> HOT 2
- api.File - The type of python file in Windows's browser is not recognized HOT 1
- html.elements.input.type_file - The type of python file in some Windows's browser is not recognized HOT 1
- webextensions.manifest.browser_specific_settings - `gecko_android` for `Firefox` should not be No HOT 2
- Navigation: navigate event - add Bugzilla reference HOT 9
- api.InputEvent.data - doesn't work in Edge 120, possibly others HOT 2
- api.HTMLElement.contentEditable - support for 'plaintext-only' value
- api.WorkletSharedStorage - Does the interface also support a method named `values`
- DedicatedWorkerGlobalScope.requestAnimationFrame - Not supported in nested Web Workers on Chromium HOT 2
- calc() values support
- http.headers.Permissions-Policy.publickey-credentials-create - Incorrect information about Chrome and missing information about Firefox HOT 1
- webextensions.manifest.browser_specific_settings - `gecko_android` for `Firefox` should not be No HOT 1
- api.RTCDataChannel - Safari iOS does support `transferable`
- @media "scan" feature - missing
- api.MediaTrackConstraints.channelCount - Safari 16 not supported HOT 1
- api.Node.isConnected - Attr.isConnected is always false
- html.elements.rt - Chrome doesn't fully support CSS Ruby Annotation Layout Module Level 1
- Import attributes 'assert' is deprecated for removal in V8 12.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browser-compat-data.