diff --git a/features/host-context.yml b/features/host-context.yml new file mode 100644 index 00000000000..c5660295555 --- /dev/null +++ b/features/host-context.yml @@ -0,0 +1,8 @@ +name: host-context +description: The `:host-context()` CSS pseudo-class selects the containing element of the shadow tree in which it is used if that element or an ancestor matches the provided selector. +spec: https://drafts.csswg.org/css-scoping-1/#host-selector +group: + - selectors + - web-components +compat_features: + - css.selectors.host-context diff --git a/features/host-context.yml.dist b/features/host-context.yml.dist new file mode 100644 index 00000000000..edb77f15c7e --- /dev/null +++ b/features/host-context.yml.dist @@ -0,0 +1,11 @@ +# Generated from: host-context.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "54" + chrome_android: "54" + edge: "79" +compat_features: + - css.selectors.host-context diff --git a/features/host.yml b/features/host.yml new file mode 100644 index 00000000000..df1d9a8e306 --- /dev/null +++ b/features/host.yml @@ -0,0 +1,9 @@ +name: Host +description: The `:host` CSS pseudo-class selects the containing element of the shadow tree in which it is used. The `:host()` CSS pseudo-class selects the that element only if it matches the provided selector. +spec: https://drafts.csswg.org/css-scoping-1/#host-selector +group: + - selectors + - web-components +compat_features: + - css.selectors.host + - css.selectors.hostfunction diff --git a/features/host.yml.dist b/features/host.yml.dist new file mode 100644 index 00000000000..f42d11af08a --- /dev/null +++ b/features/host.yml.dist @@ -0,0 +1,18 @@ +# Generated from: host.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "54" + chrome_android: "54" + edge: "79" + firefox: "63" + firefox_android: "63" + safari: "10" + safari_ios: "10" +compat_features: + - css.selectors.host + - css.selectors.hostfunction