gtk/testsuite/reftests
Simon McVittie 16b9a30655 reftest-compare: Treat colour channels as undefined if alpha is zero
If the alpha channel is zero, it doesn't matter what the values of the
red, green and blue channels are: the pixel is still fully transparent.
On most architectures, fully transparent pixels end up all-zeroes
(fully transparent black), matching what's in the reference PNG file;
but on mips*el the blend-difference and blend-normal tests get all-ones
(fully transparent white) and a test failure.

Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4227
Signed-off-by: Simon McVittie <smcv@debian.org>
2021-09-02 22:34:48 +01:00
..
721800-0px-dotted-border.css
721800-0px-dotted-border.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
721800-0px-dotted-border.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
actionbar.css
actionbar.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
actionbar.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
align-expand.sh reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
animation-direction.c reftests: Add a message to the test output 2016-01-31 14:11:01 -05:00
animation-direction.css
animation-direction.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
animation-direction.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
animation-fill-mode-iteration-count.css cssanimation: Compute progress correctly 2016-03-11 16:39:34 +01:00
animation-fill-mode-iteration-count.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
animation-fill-mode-iteration-count.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
background-area.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-area.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-area.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-blend-mode-clip-interaction.css css: An opaque background does not allow omitting push_group 2016-12-20 18:01:10 +01:00
background-blend-mode-clip-interaction.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-blend-mode-clip-interaction.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-color-transparent.css reftests: Avoid theme influence 2020-04-24 15:19:24 -04:00
background-color-transparent.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-color-transparent.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-image-multiple.css Stop using one-stop gradients in reftests 2016-07-26 07:25:01 -04:00
background-image-multiple.ref.ui reftests: Use transform syntax 2020-04-25 12:47:17 -04:00
background-image-multiple.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-origin.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-origin.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-origin.ui reftests: Fix the background-origin test 2020-05-22 10:48:33 -04:00
background-position-repeat-bg.png
background-position-repeat.css
background-position-repeat.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position-repeat.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position-simple.css
background-position-simple.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-position-simple.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-position.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-position.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-position.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-positioning-area-empty.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-positioning-area-empty.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-repeat.css
background-repeat.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-repeat.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-size-keywords.css
background-size-keywords.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-size-keywords.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-size-zero.css reftests: Fix background-size-zero test 2019-03-29 09:56:52 +01:00
background-size-zero.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-size-zero.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
background-size.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-size.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-size.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
background-window-transparent.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-window-transparent.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
background-window-transparent.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
bad-color-names.css *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
bad-color-names.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
bad-color-names.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-color-default.css *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
border-color-default.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-color-default.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-corner-zero-width-rendering.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-corner-zero-width-rendering.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
border-corner-zero-width-rendering.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
border-half-pixel.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-half-pixel.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-half-pixel.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-image-3-balls-green-squished.png
border-image-3-balls-green.png
border-image-3-balls-yellow-squished.png
border-image-3-balls-yellow.png
border-image-ball-green.png
border-image-ball-red.png
border-image-ball-yellow.png
border-image-balls.png
border-image-excess-size.css testsuite: Get rid of GtkToolbar 2020-02-07 14:08:08 +01:00
border-image-excess-size.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
border-image-excess-size.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-image-url-scaled.css
border-image-url-scaled.ref.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url-scaled.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url.css
border-image-url.ref.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-image-url.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
border-radius-clamp.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-radius-clamp.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-radius-clamp.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
border-rgb.png
border-rgb@2.png
border-style-none.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style-none.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-style-none.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
border-style.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
border-style.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
box-flip.css Add a reftest for box flipping 2021-01-15 18:43:31 -05:00
box-flip.ref.ui Add a reftest for box flipping 2021-01-15 18:43:31 -05:00
box-flip.ui Add a reftest for box flipping 2021-01-15 18:43:31 -05:00
box-order.css reftests: Add a reftest for box sibling ordering 2015-03-18 15:23:31 +01:00
box-order.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-order.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-pseudo-classes.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
box-pseudo-classes.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
box-pseudo-classes.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
box-shadow-changes-modify-clip.css reftests: add a test for animated box shadow updating clip 2016-03-03 16:14:39 -08:00
box-shadow-changes-modify-clip.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-shadow-changes-modify-clip.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-shadow-spec-inset.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
box-shadow-spec-inset.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
box-shadow-spec-inset.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
box-shadow-spread.css
box-shadow-spread.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-shadow-spread.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-shadow-with-blend-mode.css reftests: Add reftest for the last 2 fixes 2016-11-08 02:32:39 +01:00
box-shadow-with-blend-mode.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
box-shadow-with-blend-mode.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
boxlayout-invisible-child.ref.ui Add a reftest for box layouts 2020-08-24 11:34:30 -04:00
boxlayout-invisible-child.ui Add a reftest for box layouts 2020-08-24 11:34:30 -04:00
button-wrapping.ref.ui Remove GtkRadioButton uses in ui files in tests 2020-08-30 21:23:25 -04:00
button-wrapping.ui Remove GtkRadioButton uses in ui files in tests 2020-08-30 21:23:25 -04:00
centerlayout-invisible-child.css Add reftests for center layout 2020-08-24 12:02:34 -04:00
centerlayout-invisible-child.ref.ui Add reftests for center layout 2020-08-24 12:02:34 -04:00
centerlayout-invisible-child.ui Add reftests for center layout 2020-08-24 12:02:34 -04:00
centerlayout-minsize.css Add reftests for center layout 2020-08-24 12:02:34 -04:00
centerlayout-minsize.ref.ui Add reftests for center layout 2020-08-24 12:02:34 -04:00
centerlayout-minsize.ui Add reftests for center layout 2020-08-24 12:02:34 -04:00
color-transition.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
color-transition.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
color-transition.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
cross-fade-syntax.css reftests: Add a cross-fade syntax-checking reftest 2019-04-12 19:34:28 +02:00
cross-fade-syntax.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
cross-fade-syntax.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
css-currentcolor-alpha.css reftests: Fix css-currentcolor-alpha.ui test 2019-03-29 09:56:52 +01:00
css-currentcolor-alpha.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-currentcolor-alpha.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-em-label-size.css reftests: test em size 2016-04-12 16:59:40 -07:00
css-em-label-size.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
css-em-label-size.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
css-image-aspect-ratio.css cssimage: Scale images to contain, not cover 2017-01-13 03:38:36 +01:00
css-image-aspect-ratio.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-aspect-ratio.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-color-aspect-ratio.css cssimage: Fallback images have no aspect ratio 2017-01-13 03:38:36 +01:00
css-image-color-aspect-ratio.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-image-color-aspect-ratio.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-class.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-class.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-class.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-descendant-later.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
css-match-descendant-later.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-descendant-later.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
css-match-exact.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
css-match-exact.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-exact.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
css-match-import-import.css Fix reftests 2015-10-27 20:06:24 -04:00
css-match-import.css Fix reftests 2015-10-27 20:06:24 -04:00
css-match-import.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-import.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-inherit-different-state.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-inherit-different-state.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-match-inherit-different-state.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-match-inherit.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-inherit.ref.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
css-match-inherit.ui testsuite: Stop setting :has-focus 2020-04-09 17:50:29 -04:00
css-match-name.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-name.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-name.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-siblings.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
css-match-siblings.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-siblings.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-type.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-match-type.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-match-type.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
css-multi-state.css reftests: Fix css-multi-state test 2019-11-29 20:26:45 +09:00
css-multi-state.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-multi-state.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
css-rem-label-size.css reftests: test rem size 2016-04-12 16:59:40 -07:00
css-rem-label-size.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
css-rem-label-size.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
data-url.css css: Add data URL parsing to images 2019-05-12 17:27:01 +02:00
data-url.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
data-url.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
expand-expander.c
expander.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
expander.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
fixed-widget-stacking.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
fixed-widget-stacking.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
flipping-icons.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
flipping-icons.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
font-sizes-names.css
font-sizes-names.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
font-sizes-names.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
frame-inhibitor.c css: Fix shadow value equal 2021-02-03 22:10:13 -05:00
gradient-flip.css Add a reftest for flipping transforms 2020-09-28 21:07:51 -04:00
gradient-flip.ref.ui Add a reftest for flipping transforms 2020-09-28 21:07:51 -04:00
gradient-flip.ui Add a reftest for flipping transforms 2020-09-28 21:07:51 -04:00
gradient-hard-stop.css Add a reftest for gradients with hard stops 2020-08-05 08:10:35 -04:00
gradient-hard-stop.ref.ui Add a reftest for gradients with hard stops 2020-08-05 08:10:35 -04:00
gradient-hard-stop.ui Add a reftest for gradients with hard stops 2020-08-05 08:10:35 -04:00
green-20x20.png
grid-empty-with-spacing.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-empty-with-spacing.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-expand.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
grid-expand.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-expand.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-homogeneous.css
grid-homogeneous.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-homogeneous.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-spacing1.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing1.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-spacing2.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
grid-spacing2.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-spacing3.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
grid-spacing3.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-spacing3.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-wfh.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
grid-wfh.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
gridlayout-invisible-child.ref.ui Add a reftest for grid layouts 2020-08-24 11:38:00 -04:00
gridlayout-invisible-child.ui Add a reftest for grid layouts 2020-08-24 11:38:00 -04:00
gtk-icontheme-sizing.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
gtk-icontheme-sizing.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
gtk-icontheme-sizing.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
gtk-image-effect-inherit.css gtk: Replace -gtk-icon-effect with -gtk-icon-filter 2016-12-31 02:49:47 +01:00
gtk-image-effect-inherit.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
gtk-image-effect-inherit.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
gtk-reftest.c Revert "reftests: Enforce default settings" 2021-08-30 11:01:22 -04:00
gtk-reftest.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
icon-effect-missing.css gtk: Replace -gtk-icon-effect with -gtk-icon-filter 2016-12-31 02:49:47 +01:00
icon-effect-missing.ref.ui Fix the icon-effect-missing reftest 2021-05-04 16:21:37 -04:00
icon-effect-missing.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-shadow-no-transform.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
icon-shadow-no-transform.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-shadow-no-transform.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-style-basics.css reftests: Fix test on HighContrast theme 2015-03-16 15:44:42 +01:00
icon-style-basics.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-style-basics.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-theme-hicolor.c Fix the icon-effect-missing reftest 2021-05-04 16:21:37 -04:00
icon-vfuncs.css Use an GtkImage instead of GtkArrow 2016-01-29 13:21:01 -05:00
icon-vfuncs.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
icon-vfuncs.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
iconview-empty.css reftests: Fix iconview-empty test 2019-03-29 09:56:52 +01:00
iconview-empty.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
iconview-empty.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
image-compare.c Add missing includes 2019-07-31 08:04:03 -04:00
image-icon-name-use-fallback.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
image-icon-name-use-fallback.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
image-icon-shadow-clipping.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
image-icon-shadow-clipping.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
image-icon-shadow-clipping.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
image-load-from-file.css
image-load-from-file.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
image-load-from-file.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-attribute-preference.css
label-attribute-preference.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-attribute-preference.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-background.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
label-background.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-background.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-box-shadow-clip.css
label-box-shadow-clip.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-box-shadow-clip.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-clipping.css Fix reftests 2015-10-27 20:06:24 -04:00
label-clipping.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-clipping.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-ellipsize-small.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-small.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-with-big.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-ellipsize-with-big.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-fonts.css Make the newly added test a bit more robust 2019-05-03 02:15:07 +00:00
label-fonts.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-fonts.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-shadows.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-shadows.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-shadows.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-sizing.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-sizing.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
label-sizing.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
label-small-ellipsized.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-small-ellipsized.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-text-shadow-changes-modify-clip.css Fix reftests 2015-10-27 20:06:24 -04:00
label-text-shadow-changes-modify-clip.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-text-shadow-changes-modify-clip.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-text-shadow-clipping.css Fix reftests 2015-10-27 20:06:24 -04:00
label-text-shadow-clipping.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-text-shadow-clipping.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
label-width-chars-dont-shrink.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-width-chars-dont-shrink.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
label-wrap-justify.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
label-wrap-justify.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
letter-spacing.c label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
letter-spacing.css label: add support for CSS letter-spacing property 2015-07-06 00:04:05 +02:00
letter-spacing.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
letter-spacing.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
linear-gradient-transition-to-other.css Don't use one-stop gradients 2016-07-28 17:12:25 +02:00
linear-gradient-transition-to-other.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
linear-gradient-transition-to-other.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
linear-gradient.css *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
linear-gradient.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
linear-gradient.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
link-coloring.css reftests: Fix underlines in link-coloring reftest 2015-07-21 02:28:53 +02:00
link-coloring.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
link-coloring.ui button: Drop relief 2020-04-17 10:57:36 -04:00
marble.xpm
meson.build ci: Disable treeview-headers-hidden reftest 2021-08-05 12:41:04 -04:00
messagedialog-secondarytext.ref.ui testsuite: Stop using type-hints 2020-03-11 19:36:04 -04:00
messagedialog-secondarytext.ui testsuite: Stop using type-hints 2020-03-11 19:36:04 -04:00
named-colors.css
named-colors.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
named-colors.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
no-colors.css
no-colors.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
no-colors.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nonresizable-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nonresizable-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
notebook-tab-position.css
notebook-tab-position.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
notebook-tab-position.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
nth-child.css
nth-child.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
nth-child.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
opacity-initial.css Fix reftests 2015-10-27 20:06:24 -04:00
opacity-initial.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
opacity-initial.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
opacity.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
opacity.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
opacity.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
overlay-no-main-widget.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
overlay-no-main-widget.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
paned-undersized.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
paned-undersized.ref.ui paned: Redo the api 2020-05-11 22:21:33 -04:00
paned-undersized.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
partial-rounded-border.css reftests: Add a reftest for rendering failure 2019-04-19 03:39:57 +02:00
partial-rounded-border.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
partial-rounded-border.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
picture-load-invalid-file.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
picture-load-invalid-file.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
pseudoclass-on-box.css
pseudoclass-on-box.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
pseudoclass-on-box.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
pseudoclass-on-parent.css
pseudoclass-on-parent.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
pseudoclass-on-parent.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
quit-mnemonic.css
quit-mnemonic.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
quit-mnemonic.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
README *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
reference-background-origin.png
reftest-compare.c reftest-compare: Treat colour channels as undefined if alpha is zero 2021-09-02 22:34:48 +01:00
reftest-compare.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-module.c reftests: Pass common_cflags 2020-05-19 08:32:33 +02:00
reftest-module.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-snapshot.c testsuite: Reduce use of g_assert 2021-04-12 08:30:56 -04:00
reftest-snapshot.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftests-dark.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
reftests-hc.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
reftests-hci.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
reftests.test.in a11y: Consolidate accessibility environment variables 2020-11-09 16:21:49 +00:00
repeating-radial-gradient-at-beginning.css cssimageradial: Handle "partial" gradients correctly 2016-12-20 18:01:12 +01:00
repeating-radial-gradient-at-beginning.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
repeating-radial-gradient-at-beginning.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
reset-to-defaults.css reftests: Drop deprecated style properties 2016-01-08 18:11:07 -05:00
revealer-extra-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-extra-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-wrappable-contents.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
revealer-wrappable-contents.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
rotated-layout.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
rotated-layout.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
separator-size.css reftests: Make separator-size test pass in HighContrastInverse 2016-01-31 16:54:48 -05:00
separator-size.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
separator-size.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
set-default-direction.c Use gtk_window_set_child throughout 2020-05-04 22:53:08 -04:00
set-default-direction.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
set-default-direction.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
shadow-clip-rounding.css
shadow-clip-rounding.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
shadow-clip-rounding.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
shorthand-entry-border.css reftests: Fix shorthand-entry-border test 2019-03-29 09:56:52 +01:00
shorthand-entry-border.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
shorthand-entry-border.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
sibling-pseudoclasses.css
sibling-pseudoclasses.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
sibling-pseudoclasses.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
simple.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
simple.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-basics.css Fix reftests 2015-10-27 20:06:24 -04:00
sizegroups-basics.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
sizegroups-basics.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
sizegroups-evolution-identity-page.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
sizegroups-evolution-identity-page.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
sizegroups-get-preferred-null.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
sizegroups-get-preferred-null.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
statusbar-remove-all.c
statusbar-remove-all.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
statusbar-remove-all.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
style-context-save-inheritance.css Fix reftests 2015-10-27 20:06:24 -04:00
style-context-save-inheritance.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
style-context-save-inheritance.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
style-properties-only-child.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
style-properties-only-child.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
style-properties-only-child.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
symbolic-icon-translucent-color.css
symbolic-icon-translucent-color.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
symbolic-icon-translucent-color.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
textview-border-windows.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
textview-border-windows.css
textview-border-windows.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
textview-border-windows.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
textview-margins.css Fix textview-margins reftest 2019-03-29 09:56:52 +01:00
textview-margins.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
textview-margins.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
textview-tags.c
textview-tags.css reftests: Fix textview-tags test 2019-03-29 09:56:52 +01:00
textview-tags.ref.ui reftests/textview-tags: Hide text view cursor 2020-12-08 12:03:18 +01:00
textview-tags.ui reftests/textview-tags: Hide text view cursor 2020-12-08 12:03:18 +01:00
transform-origin.css Add a reftest for transform-origin 2021-01-24 23:47:10 -05:00
transform-origin.ref.ui Add a reftest for transform-origin 2021-01-24 23:47:10 -05:00
transform-origin.ui Add a reftest for transform-origin 2021-01-24 23:47:10 -05:00
treeview-crash-too-wide.ref.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
treeview-crash-too-wide.ui testsuite: Remove <requires> from ui files 2020-11-10 19:17:45 -05:00
treeview-fixed-height.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
treeview-fixed-height.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-fixed-height.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-headers-hidden.ref.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
treeview-headers-hidden.ui reftests: Stop using can-focus 2020-04-09 17:50:29 -04:00
unresolvable.css *: Fix spelling mistakes found by codespell 2020-08-21 15:29:34 +02:00
unresolvable.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
unresolvable.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-border-width.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-border-width.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-default-size.ref.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-default-size.ui reftests: Change popup windows to non-decorated windows 2020-02-14 17:54:38 +01:00
window-height-for-width.ref.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
window-height-for-width.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
window-show-contents-on-map.ref.ui Revert "reftests: Remove window-show-contents-on-map.ui test" 2020-12-08 11:45:52 -05:00
window-show-contents-on-map.ui Revert "reftests: Remove window-show-contents-on-map.ui test" 2020-12-08 11:45:52 -05:00

gtk-reftest is a new test runner supposed to do a lot of generic tests.
Run it like this:

./gtk-reftest [OPTIONS] TESTFILE [TESTFILES...]

where FILE is a GtkBuilder ui file to run.

For a general test named "test", you want to have the following files:
1) test.ui
2) test.ref.ui
3) test.css (optional)
The test will then check that test.ui and test.ref.ui are rendered
identically with the provided css.

In detail, for every provided TESTFILE the test runner will:
1) Add the css to the default screen
2) Load the test.ui file and the test.ref.ui file
3) Grab the first GtkWindow subclass widget
4) gtk_widget_show() it and take a snapshot image of its contents into
   a cairo surface.
5) Compare the two images to be bitwise identical. If they are not, a
   diff image will be created highlighting the differences.
6) Save the images as png files to the output directory named:
   - test.out.png (rendering of test.ui)
   - test.ref.png (rendering of test.ref.ui)
   - test.diff.png (optional, differences from step 5)
7) Fail the test if the two images are not bitwise identical

Credit for the idea of reftests goes to Mozilla and in particular David
Baron. For a larger introduction of why reftests are useful, see
http://weblogs.mozillazine.org/roc/archives/2008/12/reftests.html