Re: [csswg-drafts] [css-page-3] Should `@page` declarations be hoisted? (#11272)

[`@font-feature-values`](https://drafts.csswg.org/css-fonts-4/#at-ruledef-font-feature-values) and [`@function`](https://drafts.csswg.org/css-mixins-1/#function-rule) also take declarations and rules as their block contents, but there is no corresponding interface inheriting `CSSStyleDeclaration`. I guess hoisting declarations is inappropriate in `@function`.

So the question might be whether `CSSNestedDeclarations.style` should exist or not.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11272#issuecomment-2550462341 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 18 December 2024 06:27:54 UTC