[fix] do not be over-eager in removing unused CSS for dialog[open] (#7495)

pull/7505/head
Yuji Sugiura 2 years ago committed by GitHub
parent 263350019f
commit a068719208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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