gtk/tests/reftests/background-position-simple.css
Benjamin Otte 3a8cec5f17 reftests: Add a simple reftest for background-position
This is mostly to ensure that the background-positioning feature keeps
working and to demonstrate it.

https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00

14 lines
297 B
CSS

@import url("reset-to-defaults.css");
* {
background-image: linear-gradient(red, blue, red);
background-size: 20px 20px;
background-position: 50%;
}
#reference {
background-image: linear-gradient(blue, red, blue, red, blue);
background-size: initial;
background-position: initial;
}