Allow unused CSS for dialog[open]

pull/7495/head
Yuji Sugiura 4 years ago
parent 11ada98565
commit e25857e6c8

@ -21,7 +21,8 @@ enum NodeExist {
}
const whitelist_attribute_selector = new Map([
['details', new Set(['open'])]
['details', new Set(['open'])],
['dialog', new Set(['open'])]
]);
export default class Selector {

@ -0,0 +1 @@
dialog[open].svelte-xyz{display:grid}

@ -0,0 +1,7 @@
<dialog>Hello</dialog>
<style>
dialog[open] {
display: grid;
}
</style>
Loading…
Cancel
Save