(name)
| 572 | * @returns {boolean} true for `@keyframes` / `@counter-style` / `@container` / `@scope` |
| 573 | */ |
| 574 | const isPureBodyAtRule = (name) => |
| 575 | OPTIONALLY_VENDOR_PREFIXED_KEYFRAMES_AT_RULE.test(name) || |
| 576 | name === "@counter-style" || |
| 577 | name === "@container" || |
| 578 | name === "@scope"; |
| 579 | |
| 580 | /** |
| 581 | * Scan a rule body once: does it hold a direct declaration counted against the enclosing rule (a declaration, or one in a transparent conditional-group at-rule like `@media`/`@supports`/…) and does it hold a nested block (qualified rule or any block-bearing at-rule)? |
no test coverage detected