Skip to content

Commit 552c029

Browse files
foolipddbeck
andauthored
Split custom elements into two features (#1089)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent 3206901 commit 552c029

7 files changed

+69
-28
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated from: autonomous-custom-elements.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: Autonomous custom elements
5+
description: Autonomous custom elements are HTML elements with a hyphenated tag name (like `<example-element>`) that have behaviors you define.
6+
spec: https://html.spec.whatwg.org/multipage/custom-elements.html#autonomous-custom-element
7+
group: custom-elements
8+
status:
9+
baseline: high
10+
baseline_low_date: 2020-01-15
11+
baseline_high_date: 2022-07-15
12+
support:
13+
chrome: "54"
14+
chrome_android: "54"
15+
edge: "79"
16+
firefox: "63"
17+
firefox_android: "63"
18+
safari: "10.1"
19+
safari_ios: "10.3"
20+
# Note that https://caniuse.com/custom-elementsv1 covers both autonomous custom
21+
# elements and customized built-in elements, so it is not linked here.
22+
compat_features:
23+
- api.CustomElementRegistry
24+
- api.CustomElementRegistry.define
25+
- api.Window.customElements
26+
- css.selectors.defined
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Autonomous custom elements
2+
description: Autonomous custom elements are HTML elements with a hyphenated tag name (like `<example-element>`) that have behaviors you define.
3+
spec: https://html.spec.whatwg.org/multipage/custom-elements.html#autonomous-custom-element
4+
group: custom-elements
5+
# Note that https://caniuse.com/custom-elementsv1 covers both autonomous custom
6+
# elements and customized built-in elements, so it is not linked here.
7+
compat_features:
8+
- api.CustomElementRegistry
9+
- api.CustomElementRegistry.define
10+
- api.Window.customElements
11+
- css.selectors.defined

features/custom-elements.dist.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

features/custom-elements.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Generated from: customized-built-in-elements.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: Customized built-in elements
5+
description: Customized built-in elements are HTML elements that extend built-in elements using the `is` attribute, to add new behaviors that you define.
6+
spec: https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element
7+
group: custom-elements
8+
status:
9+
baseline: false
10+
support:
11+
chrome: "67"
12+
chrome_android: "67"
13+
edge: "79"
14+
firefox: "63"
15+
firefox_android: "63"
16+
# Note that https://caniuse.com/custom-elementsv1 covers both autonomous custom
17+
# elements and customized built-in elements, so it is not linked here.
18+
compat_features:
19+
- api.CustomElementRegistry.builtin_element_support
20+
- html.global_attributes.is
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Customized built-in elements
2+
description: Customized built-in elements are HTML elements that extend built-in elements using the `is` attribute, to add new behaviors that you define.
3+
spec: https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element
4+
group: custom-elements
5+
# Note that https://caniuse.com/custom-elementsv1 covers both autonomous custom
6+
# elements and customized built-in elements, so it is not linked here.
7+
compat_features:
8+
- api.CustomElementRegistry.builtin_element_support
9+
- html.global_attributes.is

groups/custom-elements.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://html.spec.whatwg.org/multipage/custom-elements.html
2+
name: Custom elements
3+
parent: html

0 commit comments

Comments
 (0)