Skip to content

Make unknown styles silently be ignored #47

Closed
@aikar

Description

@aikar

When a class name is missing, it would be better if it simply did not add a class to the class list instead of failing.

This makes it hard to dynamically generate class names when iterating an array to ALLOW for targeting IF needed.

But as it stands now, you would have to define every possible class in the array in the style sheet as it's a hard failure if it doesn't find it.

This doesn't fit with what people expect of CSS.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions