Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

content-box vanished after minify #435

Closed
philipp90 opened this issue Jan 14, 2015 · 2 comments
Closed

content-box vanished after minify #435

philipp90 opened this issue Jan 14, 2015 · 2 comments
Milestone

Comments

@philipp90
Copy link

css:

div {
  background: #000 content-box;
}

output:

div{background:#000}

"content-box" is vanished after minifying if written in short notation.

The following example works properly:

css:

div {
  background: #000;
  background-clip: content-box;
}

output:

div{background:#000;background-clip:content-box}
@jakubpawlowicz
Copy link
Collaborator

Please use --skip-shorthand-compacting switch until it's fixed.

@jakubpawlowicz jakubpawlowicz modified the milestones: 3.0.5, 3.1 Jan 14, 2015
@jakubpawlowicz
Copy link
Collaborator

Fixed in master, to be released in 3.1.

jakubpawlowicz added a commit that referenced this issue Jan 22, 2015
Adds last missing bit in processing `background` shorthands with
`background-origin` and `background-clip` merging.

Follow up to #435.

See http://www.w3.org/TR/css3-background/#the-background
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants