Skip to content
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
This repository was archived by the owner on Dec 1, 2020. It is now read-only.

Automath breaks background shorthand #4

@dfltr

Description

@dfltr

Input:
background: #fff url('some/image.png') no-repeat 50% 30px / 90px 120px;

Output:
background: #fff url('some/image.png') no-repeat 50% .33333333px 120px;

Expected result:
Forward slash in background shorthand should not be treated as division operator, or should be escapable.

For now I'm just avoiding the background-position / background-size shorthand, but this issue does break the CSS spec.

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