Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
7 changes: 7 additions & 0 deletions features/shadowrootadoptedstylesheets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: '<template shadowrootadoptedstylesheets>'

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.

I opted for the formal tag+attribute name here in the name field, because I couldn't find anything I was very happy with. But, other features in the same area tend to use "feature" names instead. For example, "declarative shadow dom" doesn't use <template shadowrootmode> as its name.

description: The `shadowrootadoptedstylesheets` attribute on `<template>` specifies stylesheets that get fetched and adopted into the shadow root created by the template. It is a declarative alternative to CSS module scripts for declarative shadow DOM.
spec: https://github.com/whatwg/html/pull/12339
group:
- html
- dom
- web-components
6 changes: 6 additions & 0 deletions features/shadowrootadoptedstylesheets.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Generated from: shadowrootadoptedstylesheets.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
4 changes: 4 additions & 0 deletions scripts/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ const defaultAllowlist: allowlistItem[] = [
[
"https://github.com/whatwg/html/pull/9546",
"Allowed because the <input type=\"checkbox\" switch> feature is not yet in a formal spec. Remove this exception when a formal spec is available."
],
[
"https://github.com/whatwg/html/pull/12339",
"The spec for the shadowrootadoptedstylesheets attribute is a pull request only for now. Remove this exception when the formal spec is available."
]
];

Expand Down
Loading