Skip to content

Commit

Permalink
Editorial: Add CustomElementRegistry platform support
Browse files Browse the repository at this point in the history
  - [x] √ CustomElementRegistry` Basic support
  - [ ] √ CustomElementRegistry.define()` support
  - [ ] √ CustomElementRegistry.get()` get
  - [ ] √ CustomElementRegistry.whenDefined()` whenDefined

  Addresses:
    - WICG/webcomponents#664

  Related MDN Documentation:
    - `CustomElementRegistry.define()` - https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define
    - `CustomElementRegistry.get()` - https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/get
    - `CustomElementRegistry.whenDefined()` - https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/whenDefined

  References:
    - https://caniuse.com/#feat=custom-elementsv1
    - Chrome Status - http://www.chromestatus.com/feature/4696261944934400
    - Firefox Status - https://platform-status.mozilla.org/#custom-elements
    - Webkit Status - http://webkit.org/status.html#feature-custom-elements
    - Edge Status - http://status.modern.ie/customelements

  Notes:
    - Firefox flag status - https://bugzilla.mozilla.org/show_bug.cgi?id=889230#c9
  • Loading branch information
snuggs committed Nov 11, 2017
1 parent 013e950 commit e052e53
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions api/CustomElementRegistry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"api": {
"CustomElementRegistry": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/CustomElementRegistry",
"description": "The CustomElementRegistry interface provides methods for registering custom elements and querying registered elements.",
"support": {
"chrome": {
"version_added": "33",
"notes": "Chrome 36+/Opera 20+ implemented a previous version of Custom Elements (v0) that used `.registerElement()`"
},
"firefox": {
"version_added": true,
"notes": "Enabled through the `dom.webcomponents.enabled` preference in `about:config`"
},
"safari": {
"version_added": "10.1",
"notes": "Supports 'Autonomous custom elements' but not 'Customized built-in elements'"
},
"edge": {
"version_added": false,
"notes": "Under consideration"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "41",
"notes": "Supports 'Autonomous custom elements' but not 'Customized built-in elements'"
},


"chrome_android": {
"version_added": "61",
"notes": "Supports 'Autonomous custom elements' but not 'Customized built-in elements'"
},
"webview_android": {
"version_added": "56",
"notes": "Supports 'Autonomous custom elements' but not 'Customized built-in elements'"
},
"edge_mobile": {
"version_added": false,
"notes": "Under consideration"
},
"safari_ios": {
"version_added": "10.1",
"notes": "Supports 'Autonomous custom elements' but not 'Customized built-in elements'"
},
"ie_mobile": {
"version_added": false
},
"opera_android": {
"version_added": false
}
},

"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}

0 comments on commit e052e53

Please sign in to comment.