[@scope] Support prelude-less @scope as nested group rule
When we are parsing the block contents of the following '@scope' rule,
there is actually no 'parent_rule_for_nesting', but we still need
to be able to parse any child rules within (.b):
.a {
@scope {
.b { }
}
}
Fixed by checking 'nesting_type' instead of 'parent_rule_for_nesting'
when determining whether or not to attempt child rule parsing.
Bug: 343794754
Change-Id: Ibbdd201b9c6daaeef9a8079cc8344ddc8eef089c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5984731
Commit-Queue: Anders Hartvoll Ruud andruud@chromium.org
Reviewed-by: Steinar H Gunderson sesse@chromium.org
Cr-Commit-Position: refs/heads/main@{#1377577}