[gtk/wip/baedert/gl-rework: 162/176] testsuite: Add a test case for rotated border node
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/gl-rework: 162/176] testsuite: Add a test case for rotated border node
- Date: Sun, 29 Dec 2019 15:20:00 +0000 (UTC)
commit e7e7ee682212b9bff5b614cf00c9c207fdc3de86
Author: Timm Bäder <mail baedert org>
Date: Thu Dec 19 12:37:57 2019 +0100
testsuite: Add a test case for rotated border node
testsuite/gsk/compare/borders-rotated.node | 13 +++++++++++++
testsuite/gsk/compare/borders-rotated.png | Bin 0 -> 356 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 14 insertions(+)
---
diff --git a/testsuite/gsk/compare/borders-rotated.node b/testsuite/gsk/compare/borders-rotated.node
new file mode 100644
index 0000000000..c3ebb89c73
--- /dev/null
+++ b/testsuite/gsk/compare/borders-rotated.node
@@ -0,0 +1,13 @@
+transform {
+ child: container {
+ border {
+ outline: 5 5 100 100;
+ }
+ color {
+ color: rgba(0, 0, 0, 0);
+ bounds: 0 0 110 110;
+ }
+ }
+
+ transform: translate(110, 0) rotate(90);
+}
diff --git a/testsuite/gsk/compare/borders-rotated.png b/testsuite/gsk/compare/borders-rotated.png
new file mode 100644
index 0000000000..667fb77ee5
Binary files /dev/null and b/testsuite/gsk/compare/borders-rotated.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index ba01a2eeb2..f82bfaef15 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -62,6 +62,7 @@ compare_render_tests = [
'repeat-no-repeat',
'repeat-negative-coords',
'inset-shadow-multiple',
+ 'borders-rotated',
]
# these are too sensitive to differences in the renderers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]