- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Wed, 19 Jan 2022 05:31:16 +0000
- To: public-css-archive@w3.org
But [Conditional](https://drafts.csswg.org/css-conditional-3/#contents-of) defines that nested `@media` are allowed, isn't it?
> #### Example 2
>
> For example, with this set of nested rules:
> ```
> @media print { /* rule (1) */
> /* hide navigation controls when printing */
> #navigation { display: none }
> @media (max-width: 12cm) { /* rule (2) */
> /* keep notes in flow when printing to narrow pages */
> .note { float: none }
> }
> }
> ```
> [...]
>
> ### 3. Contents of conditional group rules
>
> All conditional group rules are defined to take a <stylesheet> in their block, which means they can accept any rule that is normally allowed at the top-level of a stylesheet, and not otherwise restricted.
--
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6958#issuecomment-1016099852 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 19 January 2022 05:31:18 UTC