Skip to content

Minifier replaces border: none 1px #c5c5c5; with border:0 1px #c5c5c5; which does not work in Chrome #493

Open
@serggusak

Description

@serggusak

Describe the bug
Minifier replaces
border: none 1px #c5c5c5;
with
border:0 1px #c5c5c5;
which does not work in Chrome

To Reproduce
Steps to reproduce the behavior:

  1. Create a less file with a class that has border: none 1px #c5c5c5;
  2. Compile
  3. Observe it being translated to border:0 1px #c5c5c5;
  4. To see it in chrome, apply the class to an element and inspect the element (see attachment)

Expected behavior
expect
border:none 1px #c5c5c5;

Screenshots
image
If you hover over the yellow triangle, the tooltip is "Invalid property value".

Additional context
The whole rule does not get applied, which breaks the layout. So the problem is not just the error icon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions