Copied from Chrome Devtools
Pasted in VS Code
MY GUESS: It probably has to do with Chrome's new unit switching dropdown. So, is it really a bug. Or I'm doing something wrong.
I'm using svelte though. But I'm sure it doesn't have to do anything with the problem. I tried pasting in notepad too. Same result.
If you right click you can select "copy selector" to get
.event
and if you click "copy rule" you get
.event {
position: absolute; //etc.
}
and if you click "copy all declarations" you get:
position: absolute; //etc.