From 7b6e3be4a7165722d88f3c69f151d6969c01276b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 11 May 2011 19:51:26 -0400 Subject: [PATCH] Another grid spacing reftest This one checks that empty rows/columns don't affect layout. --- tests/reftests/Makefile.am | 5 +- tests/reftests/grid-spacing3.css | 8 +++ tests/reftests/grid-spacing3.ref.ui | 76 ++++++++++++++++++++++++++++ tests/reftests/grid-spacing3.ui | 77 +++++++++++++++++++++++++++++ 4 files changed, 165 insertions(+), 1 deletion(-) create mode 100644 tests/reftests/grid-spacing3.css create mode 100644 tests/reftests/grid-spacing3.ref.ui create mode 100644 tests/reftests/grid-spacing3.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index cf8a6619b4..89b7a40f87 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -61,4 +61,7 @@ EXTRA_DIST += \ grid-spacing1.ref.ui \ grid-spacing1.ui \ grid-spacing2.ref.ui \ - grid-spacing2.ui + grid-spacing2.ui \ + grid-spacing3.ref.ui \ + grid-spacing3.ui \ + grid-spacing3.css diff --git a/tests/reftests/grid-spacing3.css b/tests/reftests/grid-spacing3.css new file mode 100644 index 0000000000..9313662445 --- /dev/null +++ b/tests/reftests/grid-spacing3.css @@ -0,0 +1,8 @@ +#red { + background-color: red; +} + +#green { + background-color: green; +} + diff --git a/tests/reftests/grid-spacing3.ref.ui b/tests/reftests/grid-spacing3.ref.ui new file mode 100644 index 0000000000..357635385e --- /dev/null +++ b/tests/reftests/grid-spacing3.ref.ui @@ -0,0 +1,76 @@ + + + + + popup + False + + + True + False + 10 + 5 + + + red + 30 + 30 + True + False + + + 0 + 0 + 1 + 1 + + + + + green + 30 + 30 + True + False + + + 1 + 0 + 1 + 1 + + + + + green + 30 + 30 + True + False + + + 0 + 1 + 1 + 1 + + + + + red + 30 + 30 + True + False + + + 1 + 1 + 1 + 1 + + + + + + diff --git a/tests/reftests/grid-spacing3.ui b/tests/reftests/grid-spacing3.ui new file mode 100644 index 0000000000..6fc6ce4959 --- /dev/null +++ b/tests/reftests/grid-spacing3.ui @@ -0,0 +1,77 @@ + + + + + popup + False + + + + True + False + 10 + 5 + + + red + 30 + 30 + True + False + + + 0 + 0 + 1 + 1 + + + + + green + 30 + 30 + True + False + + + 10 + 0 + 1 + 1 + + + + + green + 30 + 30 + True + False + + + 0 + 10 + 1 + 1 + + + + + red + 30 + 30 + True + False + + + 10 + 10 + 1 + 1 + + + + + +