gtk2/tests/reftests/background-size.css
Cosimo Cecchi 868b28b503 reftests: fix background-size reftest
We have to be careful and not set the background on the labels
themselves.

https://bugzilla.gnome.org/show_bug.cgi?id=670743
2012-04-30 13:13:46 -04:00

62 lines
682 B
CSS

@import "reset-to-defaults.css";
.button {
background-image: url("border-image-balls.png");
color: black;
text-shadow: 1px 1px white;
}
#a {
background-size: cover;
}
#b {
background-size: contain;
}
#c {
background-size: auto 100%;
}
#d {
background-size: 100% auto;
}
#e {
background-size: 100%;
}
#f {
background-size: auto 40px;
}
#g {
background-size: 40px auto;
}
#h {
background-size: 40px;
}
#i {
background-size: 40px 100%;
}
#j {
background-size: 100% 40px;
}
#k {
background-size: 40px 40px;
}
#l {
/* Uh, I'm out of ideas... */
background-size: cover;
}
#reference * {
background-size: auto;
background-repeat: round;
}