mirror of
https://github.com/angular/angular.git
synced 2026-11-22 22:55:25 -05:00
Comments are replaced with a placeholder before the styles are scoped. A
comment that is placed inside of a selector, e.g. `.a /* comment */ {}` or
`.a, /* comment */ .b {}`, ended up as its own selector part and got the
content attribute appended, which changed what the rule matches (e.g.
`.a[c] [c] {}` and `.a[c], [c] .b[c] {}`).
Parts that only consist of comment placeholders are now left untouched.