From 89d16a51239b10abc9b76412c1caefd17bf61285 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 26 Sep 2011 22:33:40 +0200 Subject: [PATCH] reftests: Add a reftest checking background-color: transparent --- tests/reftests/Makefile.am | 3 ++ .../reftests/background-color-transparent.css | 4 ++ .../background-color-transparent.ref.ui | 46 +++++++++++++++++++ .../reftests/background-color-transparent.ui | 46 +++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 tests/reftests/background-color-transparent.css create mode 100644 tests/reftests/background-color-transparent.ref.ui create mode 100644 tests/reftests/background-color-transparent.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 1b790b6d6f..767a4692d3 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -29,6 +29,9 @@ EXTRA_DIST += \ background-area.css \ background-area.ref.ui \ background-area.ui \ + background-color-transparent.css \ + background-color-transparent.ref.ui \ + background-color-transparent.ui \ border-color-default.css \ border-color-default.ref.ui \ border-color-default.ui \ diff --git a/tests/reftests/background-color-transparent.css b/tests/reftests/background-color-transparent.css new file mode 100644 index 0000000000..bddb3c88fe --- /dev/null +++ b/tests/reftests/background-color-transparent.css @@ -0,0 +1,4 @@ +* { background-image: none; background-color: purple; } +GtkButton { background-color: blue; } +.transparent { background-color: transparent; } +.reference { background-color: purple; } diff --git a/tests/reftests/background-color-transparent.ref.ui b/tests/reftests/background-color-transparent.ref.ui new file mode 100644 index 0000000000..9db4ae1e86 --- /dev/null +++ b/tests/reftests/background-color-transparent.ref.ui @@ -0,0 +1,46 @@ + + + + + False + + + True + False + + + opaque + True + True + True + False + + + 0 + 0 + 1 + 1 + + + + + transparent + True + True + True + False + + + + 0 + 1 + 1 + 1 + + + + + + diff --git a/tests/reftests/background-color-transparent.ui b/tests/reftests/background-color-transparent.ui new file mode 100644 index 0000000000..d2b0c0c4eb --- /dev/null +++ b/tests/reftests/background-color-transparent.ui @@ -0,0 +1,46 @@ + + + + + False + + + True + False + + + opaque + True + True + True + False + + + 0 + 0 + 1 + 1 + + + + + transparent + True + True + True + False + + + + 0 + 1 + 1 + 1 + + + + + +