Skip to content

Space before : are removed inside media query #334

Description

@rczobor

Version 2.4.8 removes spaces in css selector when inside a media (or @supports) query:

@media screen and (-ms-high-contrast: none) {
    body :focus {
      outline: 2px solid #5e9ed6;
    }
}

The space before : is removed and changing the selector.

@media screen and (-ms-high-contrast: none) {
    body:focus {
      outline: 2px solid #5e9ed6;
    }
}

The space before : should not be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions