This is not a full-blown HTML spec validation (intentionally). The parent-child nesting is considered valid if the Browser does not modify it, regardless of whether or not the HTML spec considers it ...
One of our favorite CSS preprocessor features is now built into the language: nesting style rules. One of our favorite CSS preprocessor features is now built into the language: nesting style rules.