From 2960bb7cb227472a2bb779ca92e2a77e3a64424b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 Aug 2024 12:09:49 -0400 Subject: [PATCH] Add a compare test for colorstates in borders --- testsuite/gsk/compare/border-colorstates.node | 10 ++++++++++ testsuite/gsk/compare/border-colorstates.png | Bin 0 -> 1670 bytes testsuite/gsk/meson.build | 1 + 3 files changed, 11 insertions(+) create mode 100644 testsuite/gsk/compare/border-colorstates.node create mode 100644 testsuite/gsk/compare/border-colorstates.png diff --git a/testsuite/gsk/compare/border-colorstates.node b/testsuite/gsk/compare/border-colorstates.node new file mode 100644 index 0000000000..9540866622 --- /dev/null +++ b/testsuite/gsk/compare/border-colorstates.node @@ -0,0 +1,10 @@ +border { + colors: rgb(255,0,0) color(srgb-linear 1 0 0) color(rec2100-pq 0.792 0.231 0.0738) rgb(255,0,0); + outline: 0 0 100 100; + widths: 50; +} +border { + colors: rgb(255,0,0) color(srgb-linear 1 0 0) color(rec2100-pq 0.792 0.231 0.0738) rgb(255,0,0); + outline: -50 -50 200 200; + widths: 5; +} diff --git a/testsuite/gsk/compare/border-colorstates.png b/testsuite/gsk/compare/border-colorstates.png new file mode 100644 index 0000000000000000000000000000000000000000..0e2cd1ba5104cee2ab9ce37e06b0074a3c331690 GIT binary patch literal 1670 zcmZ`)Yfuwc6u!Gz$c9H;f{39oMum#S^303@aab0R1zW&Jb)*VJm?$d9Lm?>O#zuvX zNJI;%Fo=$dTI3-pQl-SGh{6bhPY{TR_~0eVOCZvVww;cnKkmKz&He5uN}mMx zjsKw?iXVK(zPRT7Z$l-+!?syfRcJ#|%gV%rvZvoK02GEX1cC@WNq{F{Vc}ho3l7-uH}_&TzXkZK5y|8w}d?E=u%qek;AFBb!4 ziN5}SJ5y$j2tYjuVxubS%tBU0DT)ZfBFKUOa4Fi#1?;@UvtanEkFx>}Gk};Q0CF4$ zvr&{x=_bLW>g@v1GjNI9S+A`>YUg$rLXXitb#G;U*1BS7=wI{y3u4OKgew6gQ`4_w zqH)B&JkIM<)4RtKyCUJ9>3zW^S?!17DV~wSfukD{wSV)b^z!1&57`q7(IM##=ZD&| z)|2VkGLV3Kujoqvk4iqY7mZ7>- z7FTZ{pSF+)RPPH!e|{@a4ah@r6gBr2?VTfVPB3fCYz!{3iPu?{#enFb#(fggRgQ7u zyYfS7vFR#{I5Bdwv_r$rA3$rbp!;uxUr|M>uYMyD+)~OERAZDi@0rdF4tvoj=O$@;uNj=+IuV*lGefpB2j5SMtVuF&gWBC4MHln9-x0*i)Tn@i z3^`5yi!qLu{U8z@Y?2=H$~|}(8hojUQl!}2Jp@&mv@~z(^c~!^HkG@W;PPV4?7}+v zw|>v5);HvF&DQH??C00y$wN)xoz#(eI%@Z8b)?21H#$tBi*h(@3kQ}@wZVxM>S+8U zL%@2P7mA`*IGaTfqKqhe#RX)bjEQ&kn3>uneG1f9Rq&##Z3~v*H|O`L&t9`#VC^o_ zWZT>o8`cv`I()Z@m?+iKbSBX@F*n~xWgS^GT68(YbVfn(;5ie6I@^LUc>Ye{#L77F zeX;3`!y#U1dyjfIKKs~)II+79rB>CE84j%QoC}G|B!cZqnTlUP&rD%R4y6Vd=F8)` zbiI&~h7{!wL!L+QT-JY7#<03M+4yqt>tcQVzz{DAMk!#;K4v8mC=`kY!buTUM=DE( zk2HGE?}pqeQU9@zGA!C+BzpE&8Z}9I7zr zNuQ?4Ja3B9fhrmE^mxQfnIeE;RJ2^qf-2Iq2!a~9+ycW09<0~VrSzkaUYH%UJZ#I- z{DHPLGEl_fY!#&~U_!0vz`FaodtR;LMR;(>*68=~oJZ*4dZj9T)kmXpZ!rnfEG+~+3nEdf4Wex8L? H$nL)ZJiwPa literal 0 HcmV?d00001 diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 3842baf38b..88c7a4a748 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -25,6 +25,7 @@ compare_render_tests = [ 'blur-contents-outside-of-clip', 'blur-huge-contents-outside-of-clip-nogl', 'border-bottom-right', + 'border-colorstates', 'border-one-rounded', 'border-opacity', 'border-zero-width-color',