Skip to content

Normalize zero length and percentage properties. #25

Description

@tkaemming

This was pointed out in GH-24 by @BYK here:

You may wanna have another test case to cove

{
    'margin-top': '0px',
    'margin-right': '2px',
    'margin-bottom': '0',
    'margin-left': '2px',
}

Basically when the value is 0, you should still collapse that regardless of the unit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions