Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions features/referencetarget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ spec:
- https://github.com/whatwg/html/pull/10995
group:
- web-components
# Expected keys via Chrome origin trial in 133-135 https://chromestatus.com/feature/5188237101891584
# api.Element.attachShadow.options_referenceTarget_parameter
# api.ShadowRoot.referenceTarget
compat_features:
- api.Element.attachShadow.options_referenceTarget_parameter
- api.ShadowRoot.referenceTarget
- api.HTMLTemplateElement.shadowRootReferenceTarget
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this because I think current BCD models referenceTarget not only on ShadowRoot, but also on the corresponding HTMLTemplateElement declarative-shadow-DOM entry point.
mdn/browser-compat-data#29261

- html.elements.template.shadowrootreferencetarget
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added this for the declarative <template shadowrootreferencetarget> entry point of the same capability.
mdn/browser-compat-data#28570

5 changes: 5 additions & 0 deletions features/referencetarget.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
status:
baseline: false
support: {}
compat_features:
- api.Element.attachShadow.options_referenceTarget_parameter
- api.HTMLTemplateElement.shadowRootReferenceTarget
- api.ShadowRoot.referenceTarget
- html.elements.template.shadowrootreferencetarget