[gtk/wip/baedert/nodeeditor: 40/42] testsuite: Update clipped_rounded_clip test case
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/nodeeditor: 40/42] testsuite: Update clipped_rounded_clip test case
- Date: Thu, 25 Apr 2019 15:28:48 +0000 (UTC)
commit 88f96e1efaf60e5d204195fcb390062d24fa558d
Author: Timm Bäder <mail baedert org>
Date: Wed Apr 24 18:55:49 2019 +0200
testsuite: Update clipped_rounded_clip test case
testsuite/gsk/compare/clipped_rounded_clip.node | 21 +++++++--------------
testsuite/gsk/compare/clipped_rounded_clip.png | Bin 3162 -> 237 bytes
2 files changed, 7 insertions(+), 14 deletions(-)
---
diff --git a/testsuite/gsk/compare/clipped_rounded_clip.node b/testsuite/gsk/compare/clipped_rounded_clip.node
index 5d4aa2bf68..8563237859 100644
--- a/testsuite/gsk/compare/clipped_rounded_clip.node
+++ b/testsuite/gsk/compare/clipped_rounded_clip.node
@@ -14,6 +14,11 @@ clip {
}
}
+/* The actual rounded portion of the clip is irrelevant
+ * for this test case. This just ensures that
+ * offscreen-drawn clips work and have the correct
+ * size, color, etc.
+ */
debug {
message: "clipped out area";
child: container {
@@ -22,20 +27,8 @@ debug {
color: black;
}
color {
- bounds: 110 122 5 11;
- color: black;
- }
- color {
- bounds: 100 130 10 10;
- color: black;
- }
- color {
- bounds: 91 140 11 5;
- color: black;
- }
- color {
- bounds: 60 145 35 5;
+ bounds: 60 120 60 30;
color: black;
}
}
-}
\ No newline at end of file
+}
diff --git a/testsuite/gsk/compare/clipped_rounded_clip.png b/testsuite/gsk/compare/clipped_rounded_clip.png
index d8b69cf1c8..f1d078a133 100644
Binary files a/testsuite/gsk/compare/clipped_rounded_clip.png and
b/testsuite/gsk/compare/clipped_rounded_clip.png differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]