Re: [csswg-drafts] Proposal: Custom CSS Functions & Mixins (#9350)

@LeaVerou said:

> If they’re global only, we should not allow them to nest so we have options later
> Same for mixins, where scope is valuable

I don't think we can do that.
Because then you couldn't import a stylesheet with `@function` rules when the import has conditions.

I don't think can disallow nesting and decide later.
Because then we would break backwards compat if people already have conditional imports to `@function` rules.

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


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

Received on Friday, 27 September 2024 08:17:58 UTC