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

Automath breaks background shorthand #4

Open
dfltr opened this issue Feb 15, 2017 · 0 comments
Open

Automath breaks background shorthand #4

dfltr opened this issue Feb 15, 2017 · 0 comments

Comments

@dfltr
Copy link

dfltr commented Feb 15, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant