Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data update with new contributable feature files
- Loading branch information
Showing
129 changed files
with
17,877 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Contributing to the caniuse data | ||
|
||
The features-json directory includes JSON files for every feature found on the caniuse.com website. Through GitHub it provides a method for anyone interested in updating or contributing to the support data on the site. | ||
|
||
## How it works | ||
|
||
The data on the site is stored in a database. This data is periodically exported to the JSON files on GitHub. Once a change or new file here has been approved, it is integrated back into the database and the subsequent export files should be the same as the imported ones. Not too confusing, I hope. :) | ||
|
||
## Supported changes | ||
|
||
Currently the following feature information can be modified: | ||
* "title" Feature title | ||
* "description" Brief description of feature | ||
* "spec" Spec URL | ||
* "status" Spec status, one of the following: | ||
* rec (W3C Recommendation) | ||
* pr (W3C Proposed Recommendation) | ||
* cr (W3C Candidate Recommendation) | ||
* wd (W3C Working Draft) | ||
* other (Non-W3C, but reputable) | ||
* unoff (Unofficial or W3C "Note") | ||
* "links" Array of "link" objects consisting of URL and short description of link | ||
* "bugs" Array of "bug" objects consisting of a bug description | ||
* "categories" Array of categories, any of the following: | ||
* HTML5 | ||
* CSS | ||
* CSS2 | ||
* CSS3 | ||
* SVG | ||
* PNG | ||
* JS API | ||
* Canvas | ||
* Other | ||
* DOM | ||
* "stats" The collection of support data for a given set of browsers/versions. Only the support value strings can be modified. Values are space-separated characters with these meanings: | ||
* y - (Y)es, supported | ||
* a - (A)lmost supported (aka Partial support) | ||
* n - (N)o support | ||
* p - No support, but has (P)olyfill | ||
* u - Support (u)nknown | ||
* x - Requires prefi(x) to work | ||
* "notes" Notes on feature support, often to explain what partial support refers to | ||
* "ucprefix" Prefix should start with an uppercase letter | ||
* "parent" ID of parent feature | ||
* "keywords" Comma separated words that will match the feature in a search | ||
* "shown" Whether or not feature is ready to be shown on the site. This can be left as false if the support data or information for other fields is still being collected | ||
|
||
## Adding a feature | ||
|
||
To add a feature, simply add another JSON file to the directory with the base file name as the feature ID (only alphanumeric characters and hyphens please). If you want to submit a feature but don't have all information available for it yet, make sure you set the "shown" flag to false. | ||
|
||
## Unsupported changes | ||
|
||
Currently it is not possible to: | ||
* Add a new browser or browser version (this will be made possible later) | ||
* Add a test for any given feature (should also come later) | ||
* Add any object properties not already defined above | ||
* Modify the "usage\_perc\_y" or "usage\_perc\_a" values (these values are generated) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
{ | ||
"title":"Animated PNG (APNG)", | ||
"description":"Like animated GIFs, but allowing 24-bit colors and alpha transparency", | ||
"spec":"https:\/\/wiki.mozilla.org\/APNG_Specification", | ||
"status":"unoff", | ||
"links":[ | ||
{ | ||
"url":"http:\/\/en.wikipedia.org\/wiki\/APNG", | ||
"title":"Wikipedia" | ||
}, | ||
{ | ||
"url":"http:\/\/www.truekolor.net\/learn-how-to-create-an-animated-png\/", | ||
"title":"APNG tutorial" | ||
}, | ||
{ | ||
"url":"http:\/\/animatedpng.com\/", | ||
"title":"An APNG editor" | ||
}, | ||
{ | ||
"url":"https:\/\/github.com\/davidmz\/apng-canvas", | ||
"title":"Polyfill using canvas" | ||
}, | ||
{ | ||
"url":"https:\/\/chrome.google.com\/webstore\/detail\/ehkepjiconegkhpodgoaeamnpckdbblp", | ||
"title":"Chrome extension providing support" | ||
} | ||
], | ||
"bugs":[ | ||
|
||
], | ||
"categories":[ | ||
"PNG" | ||
], | ||
"stats":{ | ||
"ie":{ | ||
"5.5":"n", | ||
"6":"n", | ||
"7":"n", | ||
"8":"n", | ||
"9":"n", | ||
"10":"u" | ||
}, | ||
"firefox":{ | ||
"2":"n", | ||
"3":"y", | ||
"3.5":"y", | ||
"3.6":"y", | ||
"4":"y", | ||
"5":"y", | ||
"6":"y", | ||
"7":"y", | ||
"8":"y", | ||
"9":"y", | ||
"10":"y", | ||
"11":"y", | ||
"12":"y", | ||
"13":"y", | ||
"14":"y", | ||
"15":"y", | ||
"16":"y", | ||
"17":"y" | ||
}, | ||
"chrome":{ | ||
"4":"n", | ||
"5":"n", | ||
"6":"n", | ||
"7":"n", | ||
"8":"n", | ||
"9":"n", | ||
"10":"n", | ||
"11":"n", | ||
"12":"n", | ||
"13":"n", | ||
"14":"n", | ||
"15":"n", | ||
"16":"n", | ||
"17":"n", | ||
"18":"n", | ||
"19":"n", | ||
"20":"n", | ||
"21":"n", | ||
"22":"u", | ||
"23":"u" | ||
}, | ||
"safari":{ | ||
"3.1":"n", | ||
"3.2":"n", | ||
"4":"n", | ||
"5":"n", | ||
"5.1":"n", | ||
"6":"n" | ||
}, | ||
"opera":{ | ||
"9":"n", | ||
"9.5-9.6":"y", | ||
"10.0-10.1":"y", | ||
"10.5":"y", | ||
"10.6":"y", | ||
"11":"y", | ||
"11.1":"y", | ||
"11.5":"y", | ||
"11.6":"y", | ||
"12":"y", | ||
"12.1":"y", | ||
"12.5":"y" | ||
}, | ||
"ios_saf":{ | ||
"3.2":"n", | ||
"4.0-4.1":"n", | ||
"4.2-4.3":"n", | ||
"5.0-5.1":"n", | ||
"6":"u" | ||
}, | ||
"op_mini":{ | ||
"5.0-7.0":"n" | ||
}, | ||
"android":{ | ||
"2.1":"n", | ||
"2.2":"n", | ||
"2.3":"n", | ||
"3":"n", | ||
"4":"n" | ||
}, | ||
"bb":{ | ||
"7":"n", | ||
"10":"n" | ||
}, | ||
"op_mob":{ | ||
"10":"y", | ||
"11":"y", | ||
"11.1":"y", | ||
"11.5":"y", | ||
"12":"y" | ||
}, | ||
"and_chr":{ | ||
"0":"n" | ||
}, | ||
"and_ff":{ | ||
"0":"y" | ||
} | ||
}, | ||
"notes":"Where support for APNG is missing, only the first frame is displayed", | ||
"usage_perc_y":21.63, | ||
"usage_perc_a":0, | ||
"ucprefix":false, | ||
"parent":"", | ||
"keywords":"", | ||
"shown":true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
{ | ||
"title":"Audio API", | ||
"description":"High-level JavaScript API for processing and synthesizing audio", | ||
"spec":"http:\/\/www.w3.org\/TR\/audioproc\/", | ||
"status":"wd", | ||
"links":[ | ||
{ | ||
"url":"http:\/\/www.w3.org\/TR\/streamproc\/", | ||
"title":"MediaStream Processing API" | ||
}, | ||
{ | ||
"url":"http:\/\/www.w3.org\/TR\/webaudio\/", | ||
"title":"Web Audio API by Google" | ||
}, | ||
{ | ||
"url":"https:\/\/github.com\/corbanbrook\/audionode.js", | ||
"title":"Polyfill to support Web Audio API in Firefox" | ||
} | ||
], | ||
"bugs":[ | ||
|
||
], | ||
"categories":[ | ||
"JS API" | ||
], | ||
"stats":{ | ||
"ie":{ | ||
"5.5":"n", | ||
"6":"n", | ||
"7":"n", | ||
"8":"n", | ||
"9":"n", | ||
"10":"u" | ||
}, | ||
"firefox":{ | ||
"2":"n", | ||
"3":"n", | ||
"3.5":"n", | ||
"3.6":"n", | ||
"4":"a x", | ||
"5":"a x", | ||
"6":"a x", | ||
"7":"a x", | ||
"8":"a x", | ||
"9":"a x", | ||
"10":"a x", | ||
"11":"a x", | ||
"12":"a x", | ||
"13":"a x", | ||
"14":"a x", | ||
"15":"a x", | ||
"16":"a x", | ||
"17":"a x" | ||
}, | ||
"chrome":{ | ||
"4":"n", | ||
"5":"n", | ||
"6":"n", | ||
"7":"n", | ||
"8":"n", | ||
"9":"n", | ||
"10":"a x", | ||
"11":"a x", | ||
"12":"a x", | ||
"13":"a x", | ||
"14":"a x", | ||
"15":"a x", | ||
"16":"a x", | ||
"17":"a x", | ||
"18":"a x", | ||
"19":"a x", | ||
"20":"a x", | ||
"21":"a x", | ||
"22":"a x", | ||
"23":"a x" | ||
}, | ||
"safari":{ | ||
"3.1":"n", | ||
"3.2":"n", | ||
"4":"n", | ||
"5":"n", | ||
"5.1":"n", | ||
"6":"a x" | ||
}, | ||
"opera":{ | ||
"9":"n", | ||
"9.5-9.6":"n", | ||
"10.0-10.1":"n", | ||
"10.5":"n", | ||
"10.6":"n", | ||
"11":"n", | ||
"11.1":"n", | ||
"11.5":"n", | ||
"11.6":"n", | ||
"12":"n", | ||
"12.1":"n", | ||
"12.5":"n" | ||
}, | ||
"ios_saf":{ | ||
"3.2":"n", | ||
"4.0-4.1":"n", | ||
"4.2-4.3":"n", | ||
"5.0-5.1":"n", | ||
"6":"u" | ||
}, | ||
"op_mini":{ | ||
"5.0-7.0":"n" | ||
}, | ||
"android":{ | ||
"2.1":"n", | ||
"2.2":"n", | ||
"2.3":"n", | ||
"3":"n", | ||
"4":"n" | ||
}, | ||
"bb":{ | ||
"7":"n", | ||
"10":"n" | ||
}, | ||
"op_mob":{ | ||
"10":"n", | ||
"11":"n", | ||
"11.1":"n", | ||
"11.5":"n", | ||
"12":"n" | ||
}, | ||
"and_chr":{ | ||
"0":"a x" | ||
}, | ||
"and_ff":{ | ||
"0":"a x" | ||
} | ||
}, | ||
"notes":"Current support in Gecko\/WebKit is based on two different proposals.", | ||
"usage_perc_y":0, | ||
"usage_perc_a":49.21, | ||
"ucprefix":false, | ||
"parent":"", | ||
"keywords":"", | ||
"shown":true | ||
} |
Oops, something went wrong.