You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a CSS class selector (.class) is followed by a pesudo element (etc. ::after) with a space, which will select the descendent of this class, is minified, the space is lost, causing the style to be only applied to the very element which has the class attribute.
Is this a regression?
I don't know it very clearly.
To Reproduce
Create a .css file
Write something like .class ::after{}
Right click and choose "Minify this Document and preserve the original" (Other options will reproduce the bug as well)
See error: The space in the middle of .class ::after{} was lost.
Expected behaviour
This space should not be minified.
Your environment
EXTENSION VERSION: 2.10.0
VS Code version: 1.72.2 (system setup)
commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
sandbox: No
Additional context
The text was updated successfully, but these errors were encountered:
Thanks for opening your first issue in Josee9988/project-template! Be sure to follow the issue template and provide every bit of information to help the developers!
🐞 Bug Report
Describe the bug
.class
) is followed by a pesudo element (etc.::after
) with a space, which will select the descendent of this class, is minified, the space is lost, causing the style to be only applied to the very element which has the class attribute.Is this a regression?
I don't know it very clearly.
To Reproduce
.css
file.class ::after{}
.class ::after{}
was lost.Expected behaviour
This space should not be minified.
Your environment
EXTENSION VERSION: 2.10.0
VS Code version: 1.72.2 (system setup)
commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
date: 2022-10-12T22:15:18.074Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
sandbox: No
Additional context
The text was updated successfully, but these errors were encountered: