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

compact form for background is not handled #19

Open
riffraff opened this issue Aug 19, 2011 · 1 comment
Open

compact form for background is not handled #19

riffraff opened this issue Aug 19, 2011 · 1 comment

Comments

@riffraff
Copy link

input code

div.1 {
  background: url("img/1.png") center no-repeat;
}
div.2 {
  background: url(img/2.png) ;
}

produces an identical output code, whereas

div.1 {
  background: url("public/images/explore_all.png");
}
div.2 {
  background: url(public/images/explore_places.png) ;
}

produces an expected output of

div.1 {
  background: url('img/images.png') no-repeat 0 0;
}
div.2 {
  background: url('img/images.png') no-repeat -54px 0;
}

IMO spritemapper should at least report "unsupported xxx" in cases such as this, if it cannot support it better.

@sairam
Copy link

sairam commented Jan 29, 2012

Are sprites not supported on compact form backgrounds ?

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