Skip to content

[SCSS] Specificity values for nested rules are incorrect #309

@GauravB159

Description

@GauravB159

Discovered this issue while working on #249

200559512-a3643c9c-e465-4dc2-aefc-9cb242d641e8

input { #id { p { color: red; } } } - Specificity (0, 0, 1)

input #id p { color: red; } - Specificity (1, 0, 2)

Even though they are equivalent

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions