├── .babelrc ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Procfile ├── README.md ├── app.js ├── app.json ├── engine ├── browserParser.js ├── cache.js ├── canIUseParser.js ├── digger.js ├── firefoxVersionParser.js ├── fixtureParser.js ├── index.js └── redis-helper.js ├── feature-template.md ├── features ├── abort-api.md ├── app-manifest.md ├── asmjs.md ├── async-clipboard.md ├── async-function.md ├── av1-codec.md ├── background-sync.md ├── block-autoplay.md ├── canvas-media-capture.md ├── credential-management.md ├── css-backdrop-filter.md ├── css-box-alignment-block.md ├── css-clip-path.md ├── css-contain.md ├── css-display-flow-root.md ├── css-environment-variables.md ├── css-font-display.md ├── css-font-variation-settings.md ├── css-fragmentation.md ├── css-grid-layout.md ├── css-individual-transforms.md ├── css-initial-letter.md ├── css-logical-properties.md ├── css-min-max-clamp.md ├── css-motion-path.md ├── css-multicol.md ├── css-overscroll-behavior.md ├── css-scroll-anchoring.md ├── css-scroll-snap.md ├── css-scrollbars.md ├── css-shapes.md ├── css-steps-timing-functions.md ├── css-subgrids.md ├── css-variables.md ├── custom-elements.md ├── device-orientation.md ├── dialog-element.md ├── feature-policy.md ├── fetch.md ├── formdataevent.md ├── fullscreen.md ├── gamepad.md ├── html-imports.md ├── html-lazy-loading.md ├── html-templates.md ├── htmlcanvaselement-toblob.md ├── http2.md ├── indexeddb.md ├── intersection-observer.md ├── javascript-bigint.md ├── javascript-class-fields.md ├── javascript-modules.md ├── link-rel-preload.md ├── mathml.md ├── media-capabilities-decoding.md ├── media-recorder.md ├── media-session.md ├── microtask-api.md ├── mse.md ├── page-visibility.md ├── passive-event-listeners.md ├── payment-request.md ├── performance-navigation-timing.md ├── performance-observer.md ├── performance-server-timing.md ├── permissions-request.md ├── permissions-revoke.md ├── permissions.md ├── pointer-events.md ├── pointerlock.md ├── prefers-reduced-motion.md ├── promise.md ├── push.md ├── readable-steams.md ├── relative-time-format.md ├── request-idle-callback.md ├── resize-observer.md ├── screen-orientation.md ├── service-worker.md ├── shadow-dom.md ├── shadow-parts.md ├── shared-array-buffer.md ├── shared-worker.md ├── subresource-integrity.md ├── text-decoration-4.md ├── vibration.md ├── visual-viewport-api.md ├── web-animations.md ├── web-assembly.md ├── web-authentication.md ├── web-bluetooth.md ├── web-p.md ├── web-payment-app.md ├── webaudio.md ├── webgl-1.md ├── webgl-2.md ├── webrtc.md ├── websocket.md ├── webspeech-recognition.md ├── webspeech-synthesis.md ├── webvr.md ├── webxr.md └── writable-streams.md ├── gulpfile.babel.js ├── package-lock.json ├── package.json ├── routes ├── api.js └── helper.js ├── server.js ├── src ├── css │ ├── fonts.css │ ├── index.css │ └── variables │ │ ├── behaviors.css │ │ ├── headings.css │ │ ├── index.css │ │ ├── mozid.css │ │ ├── rhythm.css │ │ └── sandstone.css ├── images │ ├── anchor.svg │ ├── browsers │ │ ├── chrome_64x64.png │ │ ├── edge_64x64.png │ │ ├── firefox-beta_64x64.png │ │ ├── firefox-nightly_64x64.png │ │ ├── firefox_64x64.png │ │ ├── opera_64x64.png │ │ └── safari-technology-preview_64x64.png │ ├── bugzilla.png │ ├── bugzilla@2x.png │ ├── caniuse.png │ ├── caniuse@2x.png │ ├── favicon-192.png │ ├── favicon-196.png │ ├── favicon.ico │ ├── firefox.svg │ ├── github.png │ ├── github@2x.png │ ├── html5.png │ ├── html5@2x.png │ ├── ios-icon-180.png │ ├── mdn.png │ └── mdn@2x.png ├── js │ ├── index.js │ ├── refresh-on-update.js │ └── search.js ├── manifest.json └── tpl │ ├── alt.json │ ├── feature.html │ ├── featureLinksPartial.html │ ├── featureStatusPartial.html │ └── index.html └── tests ├── .eslintrc ├── apiUnit.js ├── browserFunctional.js ├── cacheUnit.js ├── config ├── intern-browser.js └── intern-node.js ├── nodeUnit.js ├── redisUnit.js └── support ├── .eslintrc ├── SeleniumTunnel.js └── pages └── main.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "ignore": [ 3 | "/node_modules/", 4 | "/dist/", 5 | ], 6 | "presets": ["es2015-loose", "stage-0"], 7 | "sourceMaps": "inline" 8 | } 9 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb/base", 3 | "rules": { 4 | "no-console": 0, 5 | "space-before-function-paren": 0, 6 | "no-undef": 0, 7 | "import/newline-after-import": 1, 8 | "import/no-extraneous-dependencies": 0, 9 | "import/first": 1, 10 | "import/no-webpack-loader-syntax": 0, 11 | "no-plusplus": 0, 12 | "class-methods-use-this": 0, 13 | "max-len": [0], 14 | "no-param-reassign": [0], 15 | "prefer-template": 1, 16 | "prefer-arrow-callback": 1, 17 | "consistent-return": 0, 18 | "no-confusing-arrow": 0, 19 | "prefer-rest-params": 1, 20 | "import/no-unresolved": 0, 21 | "no-underscore-dangle": 0, 22 | "no-restricted-syntax": 0, 23 | }, 24 | "parser": "babel-eslint" 25 | } 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | *.log 3 | dist/ 4 | tests/support/var/ 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 9 4 | env: 5 | global: 6 | - REDIS_URL=redis://localhost:6379 7 | install: npm install 8 | script: 9 | - npm test 10 | services: 11 | - xvfb 12 | before_script: 13 | - 'export DISPLAY=:99.0' 14 | services: 15 | - 'redis-server' 16 | notifications: 17 | irc: 18 | channels: 19 | - "irc.mozilla.org#wadi" 20 | skip_join: true 21 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Community Participation Guidelines 2 | 3 | This repository is governed by Mozilla's code of conduct and etiquette guidelines. 4 | For more details, please read the 5 | [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). 6 | 7 | ## How to Report 8 | For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page. 9 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | ## Adding a new Feature to track 4 | 5 | The easiest way to add a new feature is to use github's online file editor and create a new pull request from there. 6 | 7 | 1. Create a [new file](https://github.com/mozilla/platform-status/new/master/features) in the `features` folder and name it to reflect the feature name. The filename should end with the `.md` extension, be short, be descriptive, be lowercase, and use-dashes-for-spaces. 8 | 1. Copy the contents [feature-template.md](https://github.com/mozilla/platform-status/blob/master/feature-template.md) into the file. 9 | 1. Fill as many values (documented below) as possible in `.md`. 10 | 1. Create a pull request from the online editor, or if you're using git from the command line follow the usual steps for making a pull request. 11 | 12 | | Property | Required | Description | 13 | |----------|----------|-------------| 14 | | title | ✓ | Short descriptive title | 15 | | summary | ✓ | Short descriptive summary in one sentence | 16 | | firefox_status | ✓ | Either the version number of Firefox that the feature was shipped in or `unknown`, `not-planned`, `deprecated`, `under-consideration`, `in-development` | 17 | | bugzilla | | Tracking (meta) bug ID from [bugzilla.mozilla.org](https://bugzilla.mozilla.org/) | 18 | | mdn_url | | URL to documentation on the [Mozilla Developer Network](https://developer.mozilla.org/) | 19 | | spec_url | | URL to the specification | 20 | | caniuse_ref | | Corresponding name used by caniuse from the url after `feat=` e.g. `http://caniuse.com/#feat=promises` | 21 | | webkit_ref | | Corresponding `title` property from `webkit.org`'s [WebCore/features.json](https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/features.json) or [JavaScriptCore/features.json](https://svn.webkit.org/repository/webkit/trunk/Source/JavaScriptCore/features.json) | 22 | | chrome_ref | | Corresponding `id` property from [chromestatus.com/features.json](https://www.chromestatus.com/features.json) | 23 | | ie_ref | | Corresponding `name` property from [MicrosoftEdge/Status](https://raw.githubusercontent.com/MicrosoftEdge/Status/production/status.json) | 24 | | firefox_footnote | | Footnotes for Firefox | 25 | | webkit_footnote | | Footnotes for WebKit | 26 | | chrome_footnote | | Footnotes for Chrome | 27 | | opera_footnote | | Footnotes for Opera | 28 | | ie_footnote | | Footnotes for Edge | 29 | 30 | ## Should we add Feature X? 31 | 32 | This list isn't definitive, but a feature makes a good candidate if any of the following are true: 33 | 34 | * a standardization process has started 35 | * major browsers have started implementing it or are experimenting with it 36 | * it has been requested by web designers/developers 37 | 38 | ## Developing the Site 39 | 40 | The project requires **Node.js 4** or superior and **Redis**. Set the Redis server URL in the environment variable `REDIS_URL`. 41 | 42 | * Try to work on [open issues](https://github.com/mozilla/platform-status/issues) or create a [new issue](https://github.com/mozilla/platform-status/issues/new) before starting work. 43 | * Follow the style in the file and make sure to run `npm test`. 44 | 45 | ## Help 46 | 47 | Join the #apps channel on irc.mozilla.org or open an [issue](https://github.com/mozilla/platform-status/issues). 48 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: npm run build && npm run server 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Project Platform Status 2 | 3 | [![Build Status](https://api.travis-ci.org/mozilla/platform-status.svg?branch=master)](https://travis-ci.org/mozilla/platform-status) 4 | [![dependencies](https://img.shields.io/david/mozilla/platform-status.svg)](https://david-dm.org/mozilla/platform-status) 5 | [![devdependencies](https://img.shields.io/david/dev/mozilla/platform-status.svg)](https://david-dm.org/mozilla/platform-status?type=dev) 6 | 7 | *tomayto, tomahto*, or also **platform-status** 8 | 9 | ## Goal 10 | 11 | Platform Status gives developers a cross-platform and cross-browser roadmap for browser features, from standardization and development to release. Not only a channel to raise awareness, it can also drive adoption and improve the vital feedback loop Firefox's platform needs to have with web developers. For most developers it will be a reference to discover and learn, but it has the potential to provide the entry points for radical participation on Mozilla's platform development. 12 | 13 | ## Why 14 | 15 | Existing web compatibility references, like [caniuse](http://caniuse.com/) focus on cross-browser compatibility but don't cover un-released features and lag behind on features that already shipped. Major browser vendors ([Edge](https://dev.windows.com/en-us/microsoft-edge/platform/status/), [Chrome](https://www.chromestatus.com/features), [Webkit](https://www.webkit.org/status.html)) are publicising their own platform status with references to their bug tracking and bug owners. Similar to Platform Status' goal, Chrome tracks consensus/enthusiasm from other browsers using sources that range from bugs, to IRC logs to tweets. 16 | 17 | Platform Status can send an open and clear message to developers about the state of Mozilla's platform, from proposals of new web features to release. 18 | 19 | ## What is success 20 | 21 | - Developers discover new platform features early in the process, try them out and provide feedback 22 | - Developers adopt bleeding edge standards because they get clear signals from browser vendors 23 | - Firefox platform team and a community can maintain the data with low effort 24 | 25 | ## Additional Attributions 26 | 27 | Portions of the status data are from chromestatus.com (CC BY 2.5), dev.windows.com (CC BY 2.5), and webkit.org (LGPL). 28 | Link Closed icon by Thomas Helbig from the Noun Project. 29 | -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const fs = require('fs'); 3 | const compression = require('compression'); 4 | const app = express(); 5 | const diggerAPI = require('./routes/api'); 6 | const bodyParser = require('body-parser'); 7 | app.use(bodyParser.json()); 8 | 9 | const distPublicDir = './dist/public'; 10 | 11 | // forceHost 12 | app.use((req, res, next) => { 13 | const host = req.get('Host'); 14 | if (!/local|-pr-\d+\./.test(host) && host !== 'platform-status.mozilla.org') { 15 | res.redirect(301, `https://platform-status.mozilla.org${req.url}`); 16 | } else { 17 | next(); 18 | } 19 | }); 20 | 21 | // forceSSL 22 | app.use((req, res, next) => { 23 | const host = req.get('Host'); 24 | if (!host.startsWith('localhost')) { 25 | // https://developer.mozilla.org/en-US/docs/Web/Security/HTTP_strict_transport_security 26 | res.header('Strict-Transport-Security', 'max-age=15768000'); 27 | // https://github.com/rangle/force-ssl-heroku/blob/master/force-ssl-heroku.js 28 | if (req.headers['x-forwarded-proto'] !== 'https') { 29 | return res.redirect(301, `https://${host}${req.url}`); 30 | } 31 | } 32 | return next(); 33 | }); 34 | 35 | // corsify 36 | app.use((req, res, next) => { 37 | // http://enable-cors.org/server_expressjs.html 38 | res.header('Access-Control-Allow-Origin', '*'); 39 | res.header('Access-Control-Allow-Headers', 'Origin, Content-Type, Accept'); 40 | next(); 41 | }); 42 | 43 | app.use(compression()); 44 | 45 | if (!fs.existsSync(distPublicDir)) { 46 | throw new Error('Missing `dist` folder, execute `npm run build` first.'); 47 | } 48 | app.use(express.static(distPublicDir)); 49 | 50 | app.use(diggerAPI); 51 | 52 | console.log('App is configured'); 53 | module.exports = app; 54 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "platform-status", 3 | "description": "Firefox Platform Status", 4 | "repository": "https://github.com/mozilla/platform-status", 5 | "keywords": ["mozilla", "firefox"], 6 | "scripts": { 7 | "postdeploy": "npm run build" 8 | }, 9 | "env": { 10 | "BUILD_POSTINSTALL": { 11 | "required": true 12 | } 13 | }, 14 | "addons": [ 15 | "heroku-redis:hobby-dev" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /engine/browserParser.js: -------------------------------------------------------------------------------- 1 | import cache from './cache'; 2 | 3 | export default class BrowserParser { 4 | results = { 5 | webkit: new Map(), 6 | chrome: new Map(), 7 | ie: new Map(), 8 | }; 9 | 10 | urls = { 11 | chrome: 'https://www.chromestatus.com/features.json', 12 | webkitCore: 'https://svn.webkit.org/repository/webkit/trunk/Source/WebCore/features.json', 13 | webkitJavaScript: 'https://svn.webkit.org/repository/webkit/trunk/Source/JavaScriptCore/features.json', 14 | ie: 'https://raw.githubusercontent.com/MicrosoftEdge/Status/production/status.json', 15 | }; 16 | 17 | read() { 18 | return Promise.all([ 19 | cache.readJson(this.urls.webkitCore) 20 | .then((coreResults) => 21 | // Combine the web core and javascript core specs and features. 22 | cache.readJson(this.urls.webkitJavaScript).then((jsResults) => { 23 | coreResults.specification = coreResults.specification.concat(jsResults.specification); 24 | coreResults.features = coreResults.features.concat(jsResults.features); 25 | return coreResults; 26 | }) 27 | ) 28 | .then((results) => { 29 | results.specification.forEach((spec) => { 30 | spec.type = 'specification'; 31 | }); 32 | results.features.forEach((feature) => { 33 | feature.type = 'feature'; 34 | }); 35 | const merged = results.specification.concat(results.features); 36 | this.results.webkit = new Map( 37 | merged.map(entry => [entry.name, entry]) 38 | ); 39 | }) 40 | .catch(e => console.warn(`Error retrieving WebKit status: ${e}`)), 41 | cache.readJson(this.urls.chrome) 42 | .then((results) => { 43 | this.results.chrome = new Map( 44 | results.map(entry => [entry.id, entry]) 45 | ); 46 | }) 47 | .catch(e => console.warn(`Error retrieving Chrome status: ${e}`)), 48 | cache.readJson(this.urls.ie) 49 | .then(results => { 50 | this.results.ie = new Map( 51 | results.map(entry => [entry.name, entry]) 52 | ); 53 | }) 54 | .catch(e => console.warn(`Error retrieving IE status: ${e}`)), 55 | ]); 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /engine/cache.js: -------------------------------------------------------------------------------- 1 | import Eu from 'eu'; 2 | import redis from 'redis'; 3 | 4 | let eu = null; 5 | let client = null; 6 | let redisIndex = null; 7 | 8 | function selectIndex() { 9 | if (!client) { 10 | return Promise.reject(new Error('No client')); 11 | } 12 | return new Promise((resolve, reject) => { 13 | if (process.env.REDIS_INDEX === undefined || redisIndex === process.env.REDIS_INDEX) { 14 | return resolve(); 15 | } 16 | redisIndex = process.env.REDIS_INDEX; 17 | client.select(redisIndex, err => { 18 | if (err) { 19 | client.quit(); 20 | reject(err); 21 | return; 22 | } 23 | resolve(); 24 | }); 25 | }); 26 | } 27 | 28 | function getRequest() { 29 | if (eu) { 30 | return selectIndex() 31 | .then(() => eu); 32 | } 33 | client = redis.createClient({ 34 | url: process.env.REDIS_URL, 35 | }); 36 | return selectIndex() 37 | .then(() => { 38 | const store = new Eu.RedisStore(client); 39 | const cache = new Eu.Cache(store); 40 | eu = new Eu(cache); 41 | return eu; 42 | }); 43 | } 44 | 45 | function readJson(url) { 46 | return getRequest() 47 | .then(request => new Promise((resolve, reject) => { 48 | // we're getting the JSON anyway (?) 49 | request.get(url, { json: true }, (err, res, body) => { 50 | if (err) { 51 | return reject(err); 52 | } 53 | if (res.statusCode === 404) { 54 | return reject(new Error('Not Found')); 55 | } 56 | resolve(body); 57 | }); 58 | })); 59 | } 60 | 61 | function quitRedis() { 62 | if (client) { 63 | const response = new Promise(resolve => client.quit(resolve)); 64 | client = null; 65 | eu = null; 66 | return response; 67 | } 68 | return Promise.reject(new Error('No client open')); 69 | } 70 | 71 | export default { 72 | getRequest, 73 | readJson, 74 | quitRedis, 75 | }; 76 | -------------------------------------------------------------------------------- /engine/canIUseParser.js: -------------------------------------------------------------------------------- 1 | import cache from './cache'; 2 | 3 | export default class CanIUseParser { 4 | results = {}; 5 | url = 'https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json'; 6 | 7 | read() { 8 | return cache.readJson(this.url) 9 | .then((results) => { 10 | this.results = results; 11 | }); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /engine/digger.js: -------------------------------------------------------------------------------- 1 | import redis from './redis-helper'; 2 | 3 | // return status as an object 4 | function getStatus() { 5 | return redis.get('status') 6 | .then(status => JSON.parse(status)); 7 | } 8 | 9 | // return status of a feature as an object 10 | function getFeatureStatus(slug) { 11 | return getStatus() 12 | .then(status => { 13 | if (!status || !status[slug]) { 14 | throw new Error('Not Found'); 15 | } 16 | return status[slug]; 17 | }); 18 | } 19 | 20 | export default { 21 | getStatus, 22 | getFeatureStatus, 23 | }; 24 | -------------------------------------------------------------------------------- /engine/firefoxVersionParser.js: -------------------------------------------------------------------------------- 1 | import cache from './cache'; 2 | 3 | export default class FirefoxVersionParser { 4 | results = {}; 5 | url = 'https://product-details.mozilla.org/1.0/firefox_versions.json'; 6 | 7 | majorVersion(version) { 8 | return parseInt(version.substr(0, version.indexOf('.')), 10); 9 | } 10 | 11 | read() { 12 | return cache.readJson(this.url) 13 | .then((results) => { 14 | this.results = { 15 | stable: this.majorVersion(results.LATEST_FIREFOX_VERSION), 16 | beta: this.majorVersion(results.LATEST_FIREFOX_DEVEL_VERSION), 17 | nightly: this.majorVersion(results.FIREFOX_NIGHTLY), 18 | }; 19 | }); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /engine/fixtureParser.js: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | import glob from 'glob'; 3 | import matter from 'gray-matter'; 4 | import MarkdownIt from 'markdown-it'; 5 | const markdown = new MarkdownIt(); 6 | 7 | export default class FixtureParser { 8 | constructor(root) { 9 | this.root = path.normalize(root); 10 | } 11 | 12 | read() { 13 | this.results = glob.sync(path.join(this.root, '*.md')) 14 | .map(this.readFile, this) 15 | // alphabetically 16 | .sort((a, b) => (a.title.toLowerCase() < b.title.toLowerCase()) ? -1 : 1); 17 | return Promise.resolve(this.results); 18 | } 19 | 20 | readFile(src) { 21 | const meta = matter.read(src); 22 | 23 | if (Object.keys(meta.data).length === 0) { 24 | throw new Error(`Error while parsing '${src}'.`); 25 | } 26 | 27 | const summary = markdown.renderInline(meta.content); 28 | const slug = path.basename(src, '.md'); 29 | const file = path.relative(this.root, src); 30 | return Object.assign({ 31 | summary, 32 | slug, 33 | file, 34 | }, meta.data); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /engine/redis-helper.js: -------------------------------------------------------------------------------- 1 | import redis from 'redis'; 2 | 3 | let client = null; 4 | let redisIndex = null; 5 | 6 | function getClient() { 7 | if (!client) { 8 | client = redis.createClient({ 9 | url: process.env.REDIS_URL, 10 | }); 11 | } 12 | if (process.env.REDIS_INDEX === undefined || redisIndex === process.env.REDIS_INDEX) { 13 | return Promise.resolve(client); 14 | } 15 | redisIndex = process.env.REDIS_INDEX || 0; 16 | return new Promise((resolve, reject) => { 17 | client.select(redisIndex, err => { 18 | if (err) { 19 | console.log('REDIS ERROR:', err); 20 | client.quit(); 21 | reject(err); 22 | return; 23 | } 24 | resolve(client); 25 | }); 26 | }); 27 | } 28 | 29 | const commands = {}; 30 | 31 | // promisify following commads (add client as the first argument) 32 | // redis function: 33 | // `client.methodName(arguments, callback(err, response))` 34 | ['set', 'get', 'del', 'exists', 'sismember', 'hmset', 'hget', 'smembers', 35 | 'sadd', 'hgetall', 'srem', 'select', 'flushdb', 'quit'] 36 | .forEach(name => { 37 | commands[name] = function redisFunction(...args) { 38 | return getClient() 39 | .then(() => new Promise((resolve, reject) => { 40 | args.push((err, response) => err ? reject(err) : resolve(response)); 41 | client[name](...args); 42 | })); 43 | }; 44 | }); 45 | 46 | function quitClient() { 47 | if (!client) { 48 | return Promise.reject(new Error('No redis client open')); 49 | } 50 | const response = commands.quit() 51 | .then(() => { 52 | client = null; 53 | }); 54 | return response; 55 | } 56 | 57 | commands.getClient = getClient; 58 | commands.quitClient = quitClient; 59 | 60 | export default commands; 61 | -------------------------------------------------------------------------------- /feature-template.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 3 | category: 4 | bugzilla: 5 | firefox_status: 6 | mdn_url: 7 | spec_url: 8 | spec_repo: 9 | caniuse_ref: 10 | webkit_ref: 11 | chrome_ref: 12 | ie_ref: 13 | --- 14 | 15 | *A single sentence description.* 16 | -------------------------------------------------------------------------------- /features/abort-api.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Abort API 3 | category: api, apps 4 | bugzilla: 1378342 5 | firefox_status: 57 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/AbortController 7 | spec_url: https://dom.spec.whatwg.org/#aborting-ongoing-activities 8 | caniuse_ref: abortcontroller 9 | chrome_ref: 5631483679080448 10 | --- 11 | 12 | Allows DOM requests (such as fetch requests) to be aborted if desired. 13 | -------------------------------------------------------------------------------- /features/app-manifest.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Web Application Manifest 3 | category: apps 4 | bugzilla: 1212648 5 | firefox_status: 58 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/Manifest 7 | spec_url: https://w3c.github.io/manifest/ 8 | spec_repo: https://github.com/w3c/manifest 9 | caniuse_ref: web-app-manifest 10 | chrome_ref: 6488656873259008 11 | ie_ref: Web Application Manifest 12 | opera_ref: 13 | webkit_ref: Web App Manifest 14 | --- 15 | 16 | A JSON-based manifest providing developers with a centralized place to put metadata associated with a web application. 17 | -------------------------------------------------------------------------------- /features/asmjs.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: asm.js 3 | category: games 4 | firefox_status: 22 5 | bugzilla: 868184 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Games/Tools/asm.js 7 | spec_url: http://asmjs.org/spec/latest/ 8 | spec_status: working-draft-or-equivalent 9 | webkit_ref: 10 | chrome_ref: 5053365658583040 11 | ie_ref: ASM.js 12 | caniuse_ref: asmjs 13 | opera_ref: 14 | --- 15 | 16 | A Strict & highly optimizable subset of JavaScript that can be used as a low-level compile target. 17 | -------------------------------------------------------------------------------- /features/async-clipboard.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Asynchronous Clipboard API 3 | category: api 4 | firefox_status: 63 5 | bugzilla: 1461465 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard 7 | spec_url: https://w3c.github.io/clipboard-apis/#async-clipboard-api 8 | spec_repo: https://github.com/w3c/clipboard-apis 9 | chrome_ref: 5861289330999296 10 | webkit_ref: Async Clipboard API 11 | --- 12 | 13 | Allows read and write access to the contents of the system clipboard; can be used to implement cut, copy, and paste features within a web application. 14 | -------------------------------------------------------------------------------- /features/async-function.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Async functions 3 | category: js 4 | bugzilla: 1185106 5 | firefox_status: 52 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function 7 | spec_url: https://tc39.github.io/ecmascript-asyncawait/ 8 | spec_repo: https://github.com/tc39/ecmascript-asyncawait 9 | caniuse_ref: async-functions 10 | webkit_ref: async/await 11 | chrome_ref: 5643236399906816 12 | ie_ref: Async Functions 13 | firefox_footnote: https://blog.nightly.mozilla.org/2016/11/01/async-await-support-in-firefox/ 14 | opera_ref: 15 | --- 16 | 17 | Async functions make it possible to treat functions returning Promise objects as if they were synchronous. 18 | -------------------------------------------------------------------------------- /features/av1-codec.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: AV1 video codec 3 | category: media 4 | bugzilla: 1452146 5 | firefox_status: 66 6 | spec_url: https://aomediacodec.github.io/av1-spec/av1-spec.pdf 7 | caniuse_ref: av1 8 | chrome_ref: 5729898442260480 9 | --- 10 | 11 | A royalty-free format created by the Alliance for Open Media, designed for effective video delivery on the open web. Firefox currently supports AV1 on Windows only, but more support will follow soon. 12 | -------------------------------------------------------------------------------- /features/background-sync.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Background Sync API 3 | category: apps 4 | bugzilla: 1217544 5 | firefox_status: under-consideration 6 | spec_url: https://wicg.github.io/BackgroundSync/spec/ 7 | spec_repo: https://github.com/WICG/BackgroundSync 8 | caniuse_ref: background-sync 9 | chrome_ref: 6170807885627392 10 | opera_ref: 11 | webkit_ref: 12 | ie_ref: Background Sync API 13 | --- 14 | 15 | Provides one-off and periodic synchronization for Service Workers with an `onsync` event. 16 | -------------------------------------------------------------------------------- /features/block-autoplay.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Block autoplaying audio 3 | category: apps, multimedia 4 | bugzilla: 1487844 5 | firefox_status: 66 6 | chrome_status: shipped 7 | webkit_ref: Scroll Anchoring 8 | --- 9 | 10 | A policy that stops audio content from autoplaying on web pages unless it is initiated by a user gesture (e.g. a click event). 11 | -------------------------------------------------------------------------------- /features/canvas-media-capture.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Canvas Media Capture 3 | category: network, apps, games 4 | bugzilla: 1032848 5 | firefox_status: 43 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/captureStream 7 | spec_url: https://w3c.github.io/mediacapture-fromelement/index.html#idl-def-CanvasCaptureMediaStream 8 | spec_repo: https://github.com/w3c/mediacapture-fromelement 9 | caniuse_ref: mediacapture-fromelement 10 | chrome_ref: 4817998447640576 11 | webkit_status: shipped # this is part of Media Capture and Streams 12 | opera_ref: 13 | ie_ref: 14 | --- 15 | 16 | Allows real-time video capture of the surface of the canvas. 17 | -------------------------------------------------------------------------------- /features/credential-management.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Credential Management API 3 | category: apps 4 | bugzilla: 1156047 5 | firefox_status: under-consideration 6 | spec_url: https://w3c.github.io/webappsec-credential-management/ 7 | caniuse_ref: credential-management 8 | chrome_ref: 5026422640869376 9 | ie_ref: Credential Management API 10 | --- 11 | 12 | This API lets a website request credentials from a user agent and helps it store these credentials for future use. 13 | -------------------------------------------------------------------------------- /features/css-backdrop-filter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS backdrop-filter (subset of Filter FX L2) 3 | category: css, layout 4 | bugzilla: 1178765 5 | firefox_status: under-consideration 6 | mdn_url: https://developer.mozilla.org/docs/Web/CSS/backdrop-filter 7 | spec_url: https://dev.w3.org/fxtf/filters-2/#BackdropFilterPropert 8 | caniuse_ref: css-backdrop-filter 9 | webkit_ref: Filter Effects backdrop-filter property 10 | chrome_ref: 5679432723333120 11 | ie_ref: Backdrop filter 12 | --- 13 | 14 | Applies filter effects to elements below the target element. 15 | -------------------------------------------------------------------------------- /features/css-box-alignment-block.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Box Alignment (for block layout) 3 | category: css, layout 4 | bugzilla: 1105571 5 | firefox_status: in-development 6 | spec_url: https://drafts.csswg.org/css-align/ 7 | chrome_ref: 6173208034148352 8 | ie_ref: Box Alignment 9 | --- 10 | 11 | Extends the use of CSS Box Alignment properties beyond CSS Grid and Flexbox layouts, to any block layout. 12 | -------------------------------------------------------------------------------- /features/css-clip-path.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "CSS clip-path" 3 | category: css 4 | bugzilla: 1247229 5 | firefox_status: 54 6 | mdn_url: https://developer.mozilla.org/Web/CSS/clip-path 7 | spec_url: https://drafts.fxtf.org/css-masking-1/#the-clip-path 8 | caniuse_ref: css-clip-path 9 | chrome_ref: 5742325112242176 10 | webkit_status: shipped # this is part of CSS Masking Level 1 11 | --- 12 | 13 | Defines a shape as a clipping region over an element. Only the parts of the element inside the clipping region are displayed. 14 | -------------------------------------------------------------------------------- /features/css-contain.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Containment 3 | category: css 4 | bugzilla: 1487493 5 | firefox_status: 70 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/contain 7 | spec_url: https://drafts.csswg.org/css-contain/ 8 | spec_repo: https://github.com/w3c/csswg-drafts/tree/master/css-contain-1 9 | caniuse_ref: css-containment 10 | chrome_ref: 6522186978295808 11 | --- 12 | 13 | The contain property allows an author to indicate that an element and its contents are, as much as possible, independent of the rest of the document tree. This allows the browser to recalculate layout, style, paint, size, or any combination of them for a limited area of the DOM and not the entire page. 14 | -------------------------------------------------------------------------------- /features/css-display-flow-root.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "CSS display: flow-root" 3 | category: css, layout 4 | bugzilla: 1322191 5 | firefox_status: 53 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/display 7 | spec_url: https://drafts.csswg.org/css-display-3/#valdef-display-flow-root 8 | caniuse_ref: flow-root 9 | chrome_ref: 5769454877147136 10 | --- 11 | 12 | Provides a native clearfix solution that doesn't rely on extra markup and CSS hacks. 13 | -------------------------------------------------------------------------------- /features/css-environment-variables.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS environment variables (env()) 3 | category: css 4 | bugzilla: 1462233 5 | firefox_status: 65 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/env 7 | spec_url: https://drafts.csswg.org/css-env-1/#env-function 8 | caniuse_ref: css-env-function 9 | chrome_ref: 5710044637167616 10 | --- 11 | 12 | Allows the creation of environment variables in CSS, which are global to a particular document, unlike custom properties. 13 | -------------------------------------------------------------------------------- /features/css-font-display.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Font Rendering Controls (font-display) 3 | category: css, font 4 | bugzilla: 1157064 5 | firefox_status: 58 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display 7 | spec_url: https://tabatkins.github.io/specs/css-font-display/ 8 | caniuse_ref: css-font-rendering-controls 9 | chrome_ref: 4799947908055040 10 | webkit_ref: CSS Font Display 11 | --- 12 | 13 | Determines how a font face is displayed based on whether and when it is downloaded and ready to use. 14 | -------------------------------------------------------------------------------- /features/css-font-variation-settings.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Font Variation Settings 3 | category: css, font 4 | bugzilla: 1321022 5 | firefox_status: 62 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variation-settings 7 | spec_url: https://drafts.csswg.org/css-fonts-4/#low-level-font-variation-settings-control-the-font-variation-settings-property 8 | caniuse_ref: variable-fonts 9 | webkit_ref: Variation Fonts 10 | chrome_ref: 4708676673732608 11 | ie_ref: Font Variation Properties with OpenType Variable Font Support 12 | --- 13 | 14 | Provides low-level control over OpenType or TrueType font typographic features. 15 | -------------------------------------------------------------------------------- /features/css-fragmentation.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Fragmentation (break-* properties) 3 | category: css, layout 4 | bugzilla: 775628 5 | firefox_status: under-consideration 6 | spec_url: https://drafts.csswg.org/css-break/ 7 | chrome_ref: 5630943616303104 8 | --- 9 | 10 | Controls how blocks break between pages and columns. 11 | -------------------------------------------------------------------------------- /features/css-grid-layout.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Grid Layout 3 | category: css, layout 4 | bugzilla: 616605 5 | firefox_status: 52 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout 7 | spec_url: https://www.w3.org/TR/css-grid-1/ 8 | caniuse_ref: css-grid 9 | webkit_ref: CSS Grid Layout Level 1 10 | chrome_ref: 4589636412243968 11 | ie_ref: CSS Grid Layout 12 | --- 13 | 14 | A two-dimensional grid-based layout system, optimized for user interface design. 15 | -------------------------------------------------------------------------------- /features/css-individual-transforms.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS individual transform properties 3 | category: css 4 | bugzilla: 1424900 5 | firefox_status: 72 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Transforms 7 | spec_url: https://drafts.csswg.org/css-transforms-2/#individual-transforms 8 | spec_repo: https://github.com/w3c/csswg-drafts/ 9 | chrome_ref: 5705698193178624 10 | --- 11 | 12 | Provides individual properties for setting transforms — `rotate`, `scale`, and `translate`. These are easier to write than the equivalent individual transforms, and map better to typical user interface usage. 13 | -------------------------------------------------------------------------------- /features/css-initial-letter.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS initial-letter 3 | category: css, layout 4 | bugzilla: 1223880 5 | firefox_status: in-development 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/initial-letter 7 | spec_url: https://drafts.csswg.org/css-inline/ 8 | caniuse_ref: css-initial-letter 9 | webkit_ref: Initial Letter 10 | ie_ref: Initial Letter 11 | --- 12 | 13 | A CSS property providing styling for dropped, raised, and sunken initial letters. 14 | -------------------------------------------------------------------------------- /features/css-logical-properties.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Logical Properties and Values 3 | category: css, layout 4 | bugzilla: 1323940 5 | firefox_status: in-development 6 | spec_url: https://drafts.csswg.org/css-logical/ 7 | caniuse_ref: css-logical-props 8 | chrome_ref: 6237096230518784 9 | ie_ref: 'CSS Logical Properties Level 1' 10 | webkit_ref: CSS Logical Properties and Values Level 1 11 | --- 12 | 13 | Provides the ability to control layout through logical, rather than physical, direction and dimension mappings, e.g. inline-start and inline-end rather than left and right. 14 | -------------------------------------------------------------------------------- /features/css-min-max-clamp.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS min(), max(), and clamp() 3 | category: css 4 | firefox_status: 75 5 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/clamp 6 | spec_url: https://drafts.csswg.org/css-values-4/#math 7 | caniuse_ref: css-math-functions 8 | chrome_ref: 5714277878988800 9 | --- 10 | 11 | CSS functions that allow you to set responsive values with a maximum or maximum value, or both. 12 | -------------------------------------------------------------------------------- /features/css-motion-path.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Motion Path 3 | category: css, layout 4 | bugzilla: 1582554 5 | firefox_status: 72 6 | spec_url: https://drafts.fxtf.org/motion-1/ 7 | caniuse_ref: css-motion-paths 8 | chrome_ref: 6190642178818048 9 | ie_ref: CSS Motion Path 10 | --- 11 | 12 | Allow authors to animate graphical objects along an author-defined path. 13 | -------------------------------------------------------------------------------- /features/css-multicol.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Multiple column Layout 3 | category: css, layout 4 | bugzilla: 1300895 5 | firefox_status: 52 6 | firefox_footnote: column-span is not supported, nor fragmentation properties 7 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Columns 8 | spec_url: https://www.w3.org/TR/css3-multicol/ 9 | caniuse_ref: multicolumn 10 | chrome_ref: 6526151266664448 11 | ie_ref: Multi-column (full support) 12 | --- 13 | 14 | Allows content to be broken across multiple columns, like a book index or a newspaper layout. 15 | -------------------------------------------------------------------------------- /features/css-overscroll-behavior.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS overscroll-behavior 3 | category: css 4 | bugzilla: 951793 5 | firefox_status: 59 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior 7 | spec_url: https://wicg.github.io/overscroll-behavior/ 8 | caniuse_ref: css-overscroll-behavior 9 | chrome_ref: 5734614437986304 10 | --- 11 | 12 | Allows you to control the browser's scroll overflow behavior — what happens when the boundary of a scrolling area is reached. 13 | -------------------------------------------------------------------------------- /features/css-scroll-anchoring.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS scroll anchoring 3 | category: css 4 | bugzilla: 1305957 5 | firefox_status: 66 6 | spec_url: https://drafts.csswg.org/css-scroll-anchoring/ 7 | caniuse_ref: css-overflow-anchor 8 | chrome_ref: 5700102471548928 9 | webkit_ref: Scroll Anchoring 10 | --- 11 | 12 | Adjusts the scroll position to prevent visible jumps (or "reflows") when content changes above the viewport. The "overflow-anchor" property is also introduced as a way to disable this behavior. 13 | -------------------------------------------------------------------------------- /features/css-scroll-snap.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Scroll Snap 3 | category: css 4 | bugzilla: 1231777 5 | firefox_status: 68 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scroll_Snap 7 | spec_url: https://drafts.csswg.org/css-scroll-snap-1/ 8 | spec_repo: https://github.com/w3c/csswg-drafts/tree/master/css-scroll-snap-1 9 | caniuse_ref: css-snappoints 10 | webkit_ref: CSS Scroll Snap Points Module Level 1 11 | chrome_ref: 5721832506261504 12 | ie_ref: CSS Scroll Snap Points 13 | --- 14 | 15 | Provides a way to define "snap positions", which enforce the scroll positions that elements should stop at when they have finished scrolling. 16 | -------------------------------------------------------------------------------- /features/css-scrollbars.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Scrollbars 3 | category: css 4 | firefox_status: 64 5 | bugzilla: 1492012 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scrollbars 7 | spec_url: https://drafts.csswg.org/css-scrollbars-1/ 8 | spec_repo: https://github.com/w3c/csswg-drafts/tree/master/css-scrollbars-1 9 | caniuse_ref: css-scrollbar 10 | --- 11 | 12 | Provides CSS properties for customizing the width and color scheme of webpage scrollbars. 13 | -------------------------------------------------------------------------------- /features/css-shapes.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Shapes 3 | category: css, layout 4 | bugzilla: 1040714 5 | firefox_status: 62 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Shapes 7 | spec_url: https://www.w3.org/TR/css-shapes-1/ 8 | caniuse_ref: css-shapes 9 | webkit_ref: CSS Shapes Level 1 10 | chrome_ref: 5163890719588352 11 | ie_ref: Shapes 12 | --- 13 | 14 | Specifies different ways to define a shape on a floated element; wrapping text then wraps round the shape rather than following the rectangle of the element's box, allowing for interesting text layout effects. 15 | -------------------------------------------------------------------------------- /features/css-steps-timing-functions.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS steps() timing functions 3 | category: css 4 | bugzilla: 1496619 5 | firefox_status: 65 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/timing-function#The_steps()_class_of_timing_functions 7 | spec_url: https://drafts.csswg.org/css-easing-1/#step-timing-functions 8 | caniuse_ref: css-animation 9 | chrome_ref: 5730327525851136 10 | --- 11 | 12 | Allows an animation to occur in equidistant steps, rather than a smooth motion. Formerly frames(). 13 | -------------------------------------------------------------------------------- /features/css-subgrids.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Subgrids 3 | category: css, layout 4 | bugzilla: 1240834 5 | firefox_status: 71 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/Subgrid 7 | spec_url: https://drafts.csswg.org/css-grid-2/#subgrids 8 | caniuse_ref: css-subgrid 9 | --- 10 | 11 | Allows a CSS grid nested inside another CSS grid to be connected to its containing grid, using the same tracks. 12 | -------------------------------------------------------------------------------- /features/css-variables.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: CSS Custom Properties (CSS Variables) 3 | category: css 4 | bugzilla: 773296 5 | firefox_status: 31 6 | mdn_url: https://developer.mozilla.org/Web/CSS/Using_CSS_variables 7 | spec_url: http://dev.w3.org/csswg/css-variables/ 8 | caniuse_ref: css-variables 9 | webkit_ref: CSS Variables 10 | chrome_ref: 6401356696911872 11 | ie_ref: CSS Custom Properties (a.k.a. CSS Variables) 12 | --- 13 | 14 | A way to define and use variables that can be used in place of any CSS property. 15 | -------------------------------------------------------------------------------- /features/custom-elements.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Custom Elements 3 | category: apps 4 | bugzilla: 889230 5 | firefox_status: 63 6 | mdn_url: https://developer.mozilla.org/docs/Web/Web_Components/Using_custom_elements 7 | spec_url: https://html.spec.whatwg.org/multipage/custom-elements.html 8 | spec_repo: https://github.com/w3c/webcomponents 9 | chrome_ref: 4696261944934400 10 | ie_ref: Custom Elements 11 | webkit_ref: Custom Elements 12 | caniuse_ref: custom-elementsv1 13 | --- 14 | 15 | Allows for the definition of custom HTML elements. 16 | -------------------------------------------------------------------------------- /features/device-orientation.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Device Orientation 3 | category: games, apps 4 | firefox_status: 6 5 | bugzilla: 615597 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/DeviceOrientationEvent 7 | spec_url: http://w3c.github.io/deviceorientation/spec-source-orientation.html 8 | chrome_ref: 5874690627207168 9 | ie_ref: Device Orientation 10 | webkit_ref: DeviceOrientation Events 11 | caniuse_ref: deviceorientation 12 | --- 13 | 14 | Provides access to device's physical orientation. 15 | -------------------------------------------------------------------------------- /features/dialog-element.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Dialog element 3 | category: apps, html 4 | bugzilla: 840640 5 | firefox_status: in-development 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog 7 | spec_url: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element 8 | spec_repo: https://github.com/whatwg/html 9 | chrome_ref: 5770237022568448 10 | ie_ref: element for modals 11 | caniuse_ref: dialog 12 | webkit_ref: Dialog Element 13 | --- 14 | 15 | Provides semantics for marking up modal dialogs, along with access to useful related functionality. 16 | -------------------------------------------------------------------------------- /features/feature-policy.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Feature policy 3 | category: security 4 | bugzilla: 1600883 5 | firefox_status: 73 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Policy 7 | spec_url: https://w3c.github.io/webappsec-feature-policy/ 8 | spec_repo: https://github.com/w3c/webappsec-feature-policy/ 9 | caniuse_ref: feature-policy 10 | chrome_ref: 5694225681219584 11 | --- 12 | 13 | Allows web developers to selectively enable, disable, and modify the behavior of certain features and APIs in the browser. 14 | -------------------------------------------------------------------------------- /features/fetch.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Fetch API 3 | category: network, apps 4 | bugzilla: 1039846 5 | firefox_status: 39 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API 7 | spec_url: https://fetch.spec.whatwg.org/ 8 | spec_repo: https://github.com/whatwg/fetch 9 | chrome_ref: 6730533392351232 10 | ie_ref: Fetch API 11 | webkit_ref: Fetch 12 | caniuse_ref: fetch 13 | --- 14 | 15 | A low-level API for fetching network resources that is more powerful and flexible than [`XMLHttpRequest`](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest). 16 | -------------------------------------------------------------------------------- /features/formdataevent.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Event-based form participation 3 | category: apps 4 | bugzilla: 1594708 5 | firefox_status: 72 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#Using_a_formdata_event 7 | spec_url: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-formdataevent-interface 8 | spec_repo: https://github.com/whatwg/html/ 9 | chrome_ref: 5662230242656256 10 | --- 11 | 12 | Provides a new event, `formdata`, which can be used to conveniently collect the data contained in a form as a `FormData` object before submitting it e.g. via XHR. 13 | -------------------------------------------------------------------------------- /features/fullscreen.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Fullscreen API (Unprefixed) 3 | category: games 4 | firefox_status: 64 5 | bugzilla: 1269276 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API 7 | spec_url: https://fullscreen.spec.whatwg.org/ 8 | spec_repo: https://github.com/whatwg/fullscreen 9 | chrome_ref: 6596356319739904 10 | webkit_status: shipped 11 | ie_ref: Fullscreen API 12 | caniuse_ref: fullscreen 13 | --- 14 | 15 | Provides an easy way for web content to be presented using the user's entire screen. 16 | -------------------------------------------------------------------------------- /features/gamepad.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Gamepad API 3 | category: games 4 | firefox_status: 29 5 | bugzilla: 878828 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API 7 | spec_url: https://w3c.github.io/gamepad/ 8 | spec_repo: https://github.com/w3c/gamepad/ 9 | chrome_ref: 5118776383111168 10 | ie_ref: GamePad API 11 | caniuse_ref: gamepad 12 | webkit_ref: Gamepad 13 | --- 14 | 15 | Provides access and responses to signals from gamepads and other game controllers. 16 | -------------------------------------------------------------------------------- /features/html-imports.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: HTML Imports 3 | category: apps 4 | bugzilla: 877072 5 | firefox_status: not-planned 6 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/Web_Components/HTML_Imports 7 | spec_url: http://w3c.github.io/webcomponents/spec/imports/ 8 | spec_repo: https://github.com/w3c/webcomponents 9 | chrome_ref: 5144752345317376 10 | ie_ref: HTML Imports 11 | webkit_ref: HTML imports 12 | caniuse_ref: imports 13 | --- 14 | 15 | Allows HTML documents and fragments to be conveniently reused in other HTML documents. 16 | -------------------------------------------------------------------------------- /features/html-lazy-loading.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: HTML lazy loading 3 | category: apps 4 | firefox_status: 75 5 | mdn_url: https://developer.mozilla.org/docs/Web/Performance/Lazy_loading#Images 6 | spec_url: https://html.spec.whatwg.org/multipage/embedded-content.html#attr-img-loading 7 | chrome_ref: 5645767347798016 8 | caniuse_ref: loading-lazy-attr 9 | --- 10 | 11 | loading="lazy" can be used to instruct the browser to defer loading of images that are off-screen until the user scrolls near them. Chrome has also implemented experimental support for loading="lazy", although this is not a part of the spec yet. -------------------------------------------------------------------------------- /features/html-templates.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: HTML Templates 3 | category: apps 4 | firefox_status: 22 5 | mdn_url: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template 6 | spec_url: https://html.spec.whatwg.org/multipage//scripting.html#the-template-element 7 | chrome_ref: 5207287069147136 8 | webkit_ref: Template Element 9 | ie_ref: