Avoid property name conversions between camel-case and dashed formats

The existing approach to property retrieval is redundant and error-prone. The `CSSStyleDeclaration` has the `length` property and indexed properties (CSS property names), akin to `Array` elements.

Drive-by: optimize shorthand property filtering and fix trailing comment for `:before` pseudo-elements.