CSS-specific red flags¶
Unquoted attribute selectors¶
When using attribute selectors, it is sometimes possible to omit the quotes, such as for things like [name=PropertyName].
However, it is better to be in the habit of always quoting attribute selectors like [name="PropertyName"]. There are very specific situations in which an unquoted attribute will be matched correctly, but there are other times when the lack of quotes will cause the parsing to fail. Rather than trying to remember exactly which situations are which, it's better to always quote the attributes and never run into that issue.