[gtk/disappearing-underlines] Add a failing testcase




commit 4156e3ac8deeb1f840987d76b7b7fc15d743b05f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Aug 19 08:41:31 2021 -0400

    Add a failing testcase
    
    This renders ok only with cairo.

 testsuite/gsk/compare/crosshair.node |  13 +++++++++++++
 testsuite/gsk/compare/crosshair.png  | Bin 0 -> 352 bytes
 testsuite/gsk/meson.build            |   1 +
 3 files changed, 14 insertions(+)
---
diff --git a/testsuite/gsk/compare/crosshair.node b/testsuite/gsk/compare/crosshair.node
new file mode 100644
index 0000000000..4b5aafb62f
--- /dev/null
+++ b/testsuite/gsk/compare/crosshair.node
@@ -0,0 +1,13 @@
+transform {
+  child: container {
+    color {
+      bounds: 1 1 200 1;
+      color: black;
+    }
+    color {
+      bounds: 100 -100 1 200;
+      color: black;
+    }    
+  }
+  transform: scale(0.5,0.5);
+}
\ No newline at end of file
diff --git a/testsuite/gsk/compare/crosshair.png b/testsuite/gsk/compare/crosshair.png
new file mode 100644
index 0000000000..f86863f775
Binary files /dev/null and b/testsuite/gsk/compare/crosshair.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index e6901e5ef9..9c4a2f7946 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -35,6 +35,7 @@ compare_render_tests = [
   'clip-nested1',
   'color-blur0',
   'color-matrix-identity',
+  'crosshair',
   'cross-fade-in-opacity',
   'css-background',
   'empty-blend',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]