Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Defining a placeholder within grouped selectors #460

@michaek

Description

@michaek

Currently, if we define grouped selectors like:

.a, %a {
  color: red;
}

and extend them like:

.b {
  @extend %a;
}

the output is:

.b {
  color: red;
}

The addition of the placeholder selector causes the entire group of selectors where it is defined to be removed from the output CSS. The expected output would be:

.a, .b {
  color: red;
}

This is a well-known issue, for instance documented by Ben Frain here. I am creating this issue for the purpose of tracking this particular bug, and creating a related spec in sass-spec.

This may be considered a child issue of #146.

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