gtk2/testsuite/reftests
Christian Hergert fea2a82ef6 textview: use GtkTextViewChild for border and overlay children
This creates a new GtkTextViewChild that can manage overlay children at
given x,y offsets in buffer coordinates. This simplifies GtkTextView by
extracting this from GtkTextWindow as well as providing a real widget for
the borders.

With this change, we also rename gtk_text_view_add_child_in_window() to
gtk_text_view_add_overlay(). For those that were using
GTK_TEXT_WINDOW_WIDGET, they can use a GtkOverlay. It does not appear
that anyone was using GTK_TEXT_WINDOW_(LEFT|RIGHT|TOP|BOTTOM) for widgets
in this fashion, but that can be done by setting a gutter widget with
gtk_text_view_set_gutter(). We can make GtkTextViewChild public if
necessary to simplify this should it become necessary.

GtkTextViewChild will setup a CSS node of either "text" or "border"
depending on the GtkTextWindowType.

The old GtkTextViewChild has been renamed to AnchoredChild as it is only
used for widgets with anchors in the GtkTextBuffer. This also removes the
use of allocated GSList and instead embeds a GQueue and GList to save a
few extraneous allocations.
2019-10-04 14:45:43 -07:00
..
721800-0px-dotted-border.css
721800-0px-dotted-border.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
721800-0px-dotted-border.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
actionbar.css
actionbar.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
actionbar.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
align-expand.sh label: Remove angle property 2017-04-25 20:30:37 +02: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
animation-direction.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
animation-fill-mode-iteration-count.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-area.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-area.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-area.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-blend-mode-clip-interaction.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-color-transparent.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-color-transparent.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-color-transparent.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-image-multiple.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-origin.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-origin.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-origin.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-position-repeat-bg.png
background-position-repeat.css
background-position-repeat.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-position-repeat.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-position-simple.css
background-position-simple.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-position-simple.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-position.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-position.ref.ui fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
background-position.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-positioning-area-empty.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-positioning-area-empty.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-repeat.css
background-repeat.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-repeat.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size-keywords.css
background-size-keywords.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size-keywords.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size-zero.css reftests: Fix background-size-zero test 2019-03-29 09:56:52 +01:00
background-size-zero.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size-zero.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
background-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
background-window-transparent.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
bad-color-names.css
bad-color-names.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
bad-color-names.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-color-default.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-color-default.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-color-default.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-corner-zero-width-rendering.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-half-pixel.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 reftests: Fix border-image-excess-size.ui test 2019-03-29 09:56:52 +01:00
border-image-excess-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-image-excess-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-image-url-scaled.css
border-image-url-scaled.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-image-url-scaled.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-image-url.css
border-image-url.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-image-url.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-radius-clamp.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-style-none.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-style.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
border-style.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
border-style.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-order.css
box-order.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-order.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-pseudo-classes.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
box-pseudo-classes.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-pseudo-classes.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-shadow-changes-modify-clip.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
box-shadow-spec-inset.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-shadow-spread.css
box-shadow-spread.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-shadow-spread.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
box-shadow-with-blend-mode.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
button-wrapping.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
button-wrapping.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
color-transition.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
color-transition.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
color-transition.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 reftests: Add a cross-fade syntax-checking reftest 2019-04-12 19:34:28 +02:00
cross-fade-syntax.ui reftests: Add a cross-fade syntax-checking reftest 2019-04-12 19:34:28 +02: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-currentcolor-alpha.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-em-label-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-image-aspect-ratio.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-image-color-aspect-ratio.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-class.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-descendant-later.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-exact.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
css-match-exact.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-exact.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-import-import.css
css-match-import.css
css-match-import.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-import.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-inherit-different-state.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-inherit.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-name.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-siblings.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-match-type.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-multi-state.css reftests: Fix up for easy CSS changes 2016-01-18 05:05:35 +01:00
css-multi-state.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-multi-state.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
css-rem-label-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
data-url.css css: Add data URL parsing to images 2019-05-12 17:27:01 +02:00
data-url.ref.ui css: Add data URL parsing to images 2019-05-12 17:27:01 +02:00
data-url.ui css: Add data URL parsing to images 2019-05-12 17:27:01 +02:00
expand-expander.c
expander.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
expander.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
fixed-widget-stacking.ref.ui fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
fixed-widget-stacking.ui fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
flipping-icons.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
flipping-icons.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
font-sizes-names.css
font-sizes-names.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
font-sizes-names.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
frame-inhibitor.c reftests: rename util file frame-inhibitor 2016-03-03 16:09:13 -08:00
green-20x20.png
grid-empty-with-spacing.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-empty-with-spacing.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-expand.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
grid-expand.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-expand.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-homogeneous.css
grid-homogeneous.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-homogeneous.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing1.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing1.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing2.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing2.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing3.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
grid-spacing3.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-spacing3.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-wfh.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
grid-wfh.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
gtk-icontheme-sizing.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
gtk-image-effect-inherit.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
gtk-reftest.c testsuite: Make creating the output dir not racy 2019-06-09 23:17:10 +02: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-effect-missing.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-shadow-no-transform.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-style-basics.css
icon-style-basics.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-style-basics.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-vfuncs.css Use an GtkImage instead of GtkArrow 2016-01-29 13:21:01 -05:00
icon-vfuncs.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
icon-vfuncs.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
iconview-empty.css reftests: Fix iconview-empty test 2019-03-29 09:56:52 +01:00
iconview-empty.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
iconview-empty.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
image-compare.c Add missing includes 2019-07-31 08:04:03 -04:00
image-icon-name-use-fallback.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
image-icon-name-use-fallback.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
image-icon-shadow-clipping.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
image-load-from-file.css
image-load-from-file.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
image-load-from-file.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
inherit-and-initial.css
inherit-and-initial.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
inherit-and-initial.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-attribute-preference.css
label-attribute-preference.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-attribute-preference.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-background.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-box-shadow-clip.css
label-box-shadow-clip.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-box-shadow-clip.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-clipping.css
label-clipping.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-clipping.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-ellipsize-small.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-ellipsize-small.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-ellipsize-with-big.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-ellipsize-with-big.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 Make the newly added test a bit more robust 2019-05-03 02:15:07 +00:00
label-fonts.ui Make the newly added test a bit more robust 2019-05-03 02:15:07 +00:00
label-shadows.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-shadows.ref.ui fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
label-shadows.ui fixedlayout: Don't call the child transform position 2019-09-09 17:36:25 +02:00
label-sizing.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
label-sizing.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-sizing.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-small-ellipsized.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-small-ellipsized.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-text-shadow-changes-modify-clip.css
label-text-shadow-changes-modify-clip.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-text-shadow-changes-modify-clip.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-text-shadow-clipping.css
label-text-shadow-clipping.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-text-shadow-clipping.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-width-chars-dont-shrink.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-width-chars-dont-shrink.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-wrap-justify.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
label-wrap-justify.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
letter-spacing.c
letter-spacing.css
letter-spacing.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
letter-spacing.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
linear-gradient-transition-to-other.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
linear-gradient.css
linear-gradient.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
linear-gradient.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
link-coloring.css
link-coloring.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
link-coloring.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
marble.xpm
meson.build Add an image comparison utility 2019-07-30 14:02:43 -04:00
messagedialog-secondarytext.ref.ui surface: Drop group api 2019-04-20 02:28:46 +00:00
messagedialog-secondarytext.ui surface: Drop group api 2019-04-20 02:28:46 +00:00
named-colors.css
named-colors.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
named-colors.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
no-colors.css
no-colors.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
no-colors.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
nonresizable-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
nonresizable-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
notebook-tab-position.css
notebook-tab-position.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
notebook-tab-position.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
nth-child.css
nth-child.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
nth-child.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
opacity-initial.css
opacity-initial.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
opacity-initial.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
opacity.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
opacity.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
opacity.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
overlay-no-main-widget.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
overlay-no-main-widget.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
paned-undersized.css reftests: Remove event box usage 2017-08-02 11:34:57 +01:00
paned-undersized.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
paned-undersized.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 reftests: Add a reftest for rendering failure 2019-04-19 03:39:57 +02:00
partial-rounded-border.ui reftests: Add a reftest for rendering failure 2019-04-19 03:39:57 +02:00
picture-load-invalid-file.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
picture-load-invalid-file.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
pseudoclass-on-box.css
pseudoclass-on-box.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
pseudoclass-on-box.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
pseudoclass-on-parent.css
pseudoclass-on-parent.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
pseudoclass-on-parent.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
quit-mnemonic.css
quit-mnemonic.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
quit-mnemonic.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
README
reference-background-origin.png
reftest-compare.c
reftest-compare.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-module.c
reftest-module.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-snapshot.c test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftest-snapshot.h test/reftests: Fix build on Visual Studio 2019-04-01 12:14:45 +08:00
reftests-dark.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests-hc.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests-hci.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01:00
reftests.test.in reftests: Fix path to installed-tests in .test metadata 2018-09-19 09:37:06 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
repeating-radial-gradient-at-beginning.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
reset-to-defaults.css
revealer-extra-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
revealer-extra-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
revealer-wrappable-contents.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
revealer-wrappable-contents.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
rotated-layout.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
rotated-layout.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
separator-size.css reftests: Make separator-size test pass in HighContrastInverse 2016-01-31 16:54:48 -05:00
separator-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
separator-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
set-default-direction.c testsuite: Make reftests work again 2019-03-29 09:56:52 +01:00
set-default-direction.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
set-default-direction.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
shadow-clip-rounding.css
shadow-clip-rounding.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
shadow-clip-rounding.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
shorthand-entry-border.css reftests: Fix shorthand-entry-border test 2019-03-29 09:56:52 +01:00
shorthand-entry-border.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
shorthand-entry-border.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sibling-pseudoclasses.css
sibling-pseudoclasses.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sibling-pseudoclasses.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
simple.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
simple.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-basics.css
sizegroups-basics.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-basics.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-evolution-identity-page.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-evolution-identity-page.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-get-preferred-null.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
sizegroups-get-preferred-null.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
statusbar-remove-all.c
statusbar-remove-all.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
statusbar-remove-all.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
style-context-save-inheritance.css
style-context-save-inheritance.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
style-context-save-inheritance.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
style-properties-only-child.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
symbolic-icon-translucent-color.css
symbolic-icon-translucent-color.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
symbolic-icon-translucent-color.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
textview-border-windows.c textview: use GtkTextViewChild for border and overlay children 2019-10-04 14:45:43 -07:00
textview-border-windows.css
textview-border-windows.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
textview-border-windows.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
textview-margins.css Fix textview-margins reftest 2019-03-29 09:56:52 +01:00
textview-margins.ref.ui reftests: Fix textview-margins test 2019-04-13 00:11:24 +02:00
textview-margins.ui reftests: Fix textview-margins test 2019-04-13 00:11:24 +02:00
textview-tags.c
textview-tags.css reftests: Fix textview-tags test 2019-03-29 09:56:52 +01:00
textview-tags.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
textview-tags.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
toplevel-vs-popup.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
toplevel-vs-popup.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-crash-too-wide.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-crash-too-wide.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-fixed-height.css reftests: Fix CSS for various tests 2019-04-12 19:34:29 +02:00
treeview-fixed-height.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-fixed-height.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-headers-hidden.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
treeview-headers-hidden.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
unresolvable.css reftests: Fix unresolvable.ui test 2019-03-29 09:56:52 +01:00
unresolvable.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
unresolvable.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-border-width.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-border-width.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-default-size.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-default-size.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-height-for-width.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-height-for-width.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-show-contents-on-map.ref.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01:00
window-show-contents-on-map.ui testsuite/reftests: Update UI files 2019-04-05 00:33:12 +01: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 hilighting 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