vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Test: standalone color picker: decorators with hsl values, some don't work, some hsl values do trigger the decorator

Open ArturoDent opened this issue 1 year ago • 1 comments

Testing https://github.com/microsoft/vscode/issues/180678

@aiday-mar

Steps to Reproduce:

  1. Enable the setting Editor: Default Color Decorator.
  2. Insert this color value: hsl(253, 100.00%, 47.10%) into a ts or jsx file.
  3. No color decorator appears for that specific hsl value, but a decorator appears for other hsl values, like hsl(0, 83.60%, 47.80%).

I don't know which hsl values work or don't - some regex issue I assume.

colorDecorationhslBug

Version: 1.78.0-insider Commit: 208bbb0d788cce3eb80799e3565ee2204391b86d Date: 2023-04-20T05:20:21.925Z Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.78.0-insider Chrome/108.0.5359.215 Electron/22.4.7 Safari/537.36

ArturoDent avatar Apr 20 '23 18:04 ArturoDent