Skip to content

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

Open

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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