You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Media Queries Level 5 spec allows custom media queries to be defined within other at-rules, including conditional rules like @media. This creates a logical paradox where a custom media query can be used in a condition before it has been defined, leading to a circular dependency that cannot be resolved. For example:
Proposing to explicitly disallow @custom-media rules from being defined inside any conditional group rules (e.g., @media, @supports), attempting to use @custom-media inside conditional at-rules will make custom media queries fail to be defined.