-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Validated CSS" is not correct for some @rules #182
Comments
…ayed improperly. It is the responsability of the AtRule to determine if {} should be displayed or not, See #182
Consider this example: @media print {
@page {size: a4}
body {background: none}
} The validator will currently show: @media print {}
@page {size: a4}
body {background: none} Notice how the "@media print" is ended before the @page block and how the "body" rule is promoted to the global (unrestricted) level. Is this also in the scope of this issue? |
first attempt at w3c#182
At https://github.com/Handig-Eekhoorn/css-validator/tree/heek-nested-blocks-fix-issue-182 is a first try to make I have no idea what further needs to be done to also display the rule block tree on the validation output page. |
first attempt at w3c#182
Like
@media screen { }
giving@media screen
in the output, or improper{
in the case of nested @rules.The text was updated successfully, but these errors were encountered: