diff options
-rw-r--r-- | testsuite/gsk/compare/z-transform-clipping-bounds-3d.node | 28 | ||||
-rw-r--r-- | testsuite/gsk/compare/z-transform-clipping-bounds-3d.png | bin | 0 -> 331 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 1 |
3 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/z-transform-clipping-bounds-3d.node b/testsuite/gsk/compare/z-transform-clipping-bounds-3d.node new file mode 100644 index 0000000000..ebd4b09bd9 --- /dev/null +++ b/testsuite/gsk/compare/z-transform-clipping-bounds-3d.node @@ -0,0 +1,28 @@ +transform { + transform: translate3d(0, 0, -10000); + child: color { + bounds: 0 0 50 50; + color: rgb(255,0,0); + } +} +transform { + transform: translate3d(0, 0, -10001); + child: color { + bounds: 50 0 50 50; + color: rgb(255,255,0); + } +} +transform { + transform: translate3d(0, 0, 10000); + child: color { + bounds: 0 50 50 50; + color: rgb(0,255,0); + } +} +transform { + transform: translate3d(0, 0, 10001); + child: color { + bounds: 50 50 50 50; + color: rgb(0,0,255); + } +} diff --git a/testsuite/gsk/compare/z-transform-clipping-bounds-3d.png b/testsuite/gsk/compare/z-transform-clipping-bounds-3d.png Binary files differnew file mode 100644 index 0000000000..433e3c560f --- /dev/null +++ b/testsuite/gsk/compare/z-transform-clipping-bounds-3d.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 7ef11174ae..53a5f6cc46 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -88,6 +88,7 @@ compare_render_tests = [ 'texture-url', 'transform-in-transform', 'transform-in-transform-in-transform', + 'z-transform-clipping-bounds-3d', ] # these are too sensitive to differences in the renderers |