Correctly resolves comma-separated, nested styles

Resolves #35