-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
var sc = require("shortcss")
sc.expand('background', 'no-repeat center/125% url(fubar.jpg)')
Expected:
background-image: url(fubar.jpg)
background-position: "center"
background-repeat: "no-repeat"
background-size: "125%"
Unexpected:
background-attachment: "no-repeat"
background-clip: "center/125%"
background-color: "center/125%"
background-image: "no-repeat"
background-origin: "no-repeat"
background-position: "center/125%"
background-repeat: "center/125%"
background-size: "url(fubar.jpg)"
Seems like the values are going into the wrong slots, and there's no handling of position and size.
tyv
Metadata
Metadata
Assignees
Labels
No labels