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
For example, the @media rule accepts anything that can be placed in a stylesheet, except more @media rules. As such, its grammar is:
@media <media-query-list> { <stylesheet> }
It additionally defines a restriction that the <stylesheet> can not contain @media rules, which causes them to be dropped from the outer rule’s value if they appear.
I may be confused because both sentences mean the same thing to me.
The text was updated successfully, but these errors were encountered:
Correct, the last paragraph is saying that the @media spec places that restriction on the <stylesheet> production, which matches the intended behavior listed in the first paragraph.
All conditional group rules are defined to take a 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.
Uh oh!
There was an error while loading. Please reload this page.
At the very bottom of section 8.1. Defining Block Contents: the
<declaration-list>
,<rule-list>
, and<stylesheet>
productions, I understand from Example 15 that nested media queries are invalid:I may be confused because both sentences mean the same thing to me.
The text was updated successfully, but these errors were encountered: