(tag: OpenTag)
| 24 | } |
| 25 | |
| 26 | function hasInlineDropShadow(tag: OpenTag): boolean { |
| 27 | const style = readAttr(tag.raw, "style") ?? ""; |
| 28 | return /\bfilter\s*:\s*[^;]*\bdrop-shadow\s*\(/i.test(style); |
| 29 | } |
| 30 | |
| 31 | function classNamesInSelector(selector: string): string[] { |
| 32 | const classes = new Set<string>(); |