diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 30eb1d09ef..59e9e294c7 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -43,6 +43,9 @@ EXTRA_DIST += \ background-position.css \ background-position.ref.ui \ background-position.ui \ + background-position-simple.css \ + background-position-simple.ref.ui \ + background-position-simple.ui \ background-size.css \ background-size.ref.ui \ background-size.ui \ diff --git a/tests/reftests/background-position-simple.css b/tests/reftests/background-position-simple.css new file mode 100644 index 0000000000..f3a020c3f4 --- /dev/null +++ b/tests/reftests/background-position-simple.css @@ -0,0 +1,13 @@ +@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; +} diff --git a/tests/reftests/background-position-simple.ref.ui b/tests/reftests/background-position-simple.ref.ui new file mode 100644 index 0000000000..a3367df249 --- /dev/null +++ b/tests/reftests/background-position-simple.ref.ui @@ -0,0 +1,14 @@ + + + + + reference + 40 + 40 + False + popup + + + + + diff --git a/tests/reftests/background-position-simple.ui b/tests/reftests/background-position-simple.ui new file mode 100644 index 0000000000..27849e15e4 --- /dev/null +++ b/tests/reftests/background-position-simple.ui @@ -0,0 +1,13 @@ + + + + + 40 + 40 + False + popup + + + + +