Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

bug on pseudo classes #155

@ArthurPERE

Description

@ArthurPERE

Describe the bug
Hello, I found a bug in the css part, when using pseudo class, all the spaces are removed inside the parenthesis.

To Reproduce
Steps to reproduce the behavior:

Copy and paste this in a css file.

table :is(tbody tr, thead th) {
  background-color: red;
  margin: 2px;
}

And minify it, you will obtain :

table :is(tbodytr,theadth){background-color:red;margin:2px}

the tbody is glued to the tr and the thead is glued to the th.

Expected behavior
The behavior I expected is this is the minifyed file :

table :is(tbody tr,thead th){background-color:red;margin:2px}

With, for this example, the tbody and tr with a space between.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04.1 LTS
  • Version :
    • codium version 1.74.2
    • JS & CSS Minifier (Minify) v3.3.3

Regards,
Arthur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions