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

bug on pseudo classes #155

Open
ArthurPERE opened this issue Jan 6, 2023 · 0 comments
Open

bug on pseudo classes #155

ArthurPERE opened this issue Jan 6, 2023 · 0 comments

Comments

@ArthurPERE
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant