4edb3f08e4
reftests: fix background-area reftest after the last commit
2011-06-15 11:25:26 -04:00
016e0c1a3e
reftests: Check that the default border color is the foreground color
2011-06-13 15:01:52 +02:00
a536a50dbd
reftests: Add reftest for unresolvable properties
2011-06-11 10:41:17 +02:00
a1d19be950
reftests: Add a test for inset box-shadow
...
This test is copied from the CSS spec. The reference is very sensitive
to the rendering algorithm in use, because the rounded corners have
semi-transparent pixels. It might be necessary to update them in the
future.
2011-06-11 09:29:43 +02:00
281ce813fc
reftests: Add background-area reftest
...
Checks the fix from last commit: background area is supposed to be the
border box.
2011-06-11 09:29:32 +02:00
7adfd8a0f5
reftests: Remove unused file from EXTRA_DIST
2011-06-10 16:26:39 +02:00
53e3f43217
reftests: ADd test for overlapping border-image slices
2011-06-09 05:51:55 +02:00
9affa9fc4d
reftests: Add border-image-repeat
...
Tests that border-image-repeat is rendered correctly.
The reftest is done via toolbars stuffed into a GtkFixed using
background-image and images tuned for it.
2011-06-09 05:51:54 +02:00
83a383e4ba
reftests: add reftests for border-image with gradient and url sources
...
https://bugzilla.gnome.org/show_bug.cgi?id=651194
2011-06-09 05:51:54 +02:00
d4224cd325
GtkGrid: Fix a size allocation problem
...
We need pay attention the the request mode when doing size allocation.
The code was using request mode for requisition, but orientation
for allocation.
Also add a reftest that exhibits the issue, courtesy of
Benjamin Otte.
2011-06-07 11:05:50 -04:00
bdb8c64dd0
reftests: Add a reftest setting all colors to "none"
2011-06-02 02:03:51 +02:00
43cca78a98
reftests: Test new pseudo-class support in GtkBox
2011-06-02 02:03:50 +02:00
0c7e5a51f3
reftests: sort EXTRA_DIST in Makefile
2011-05-22 05:56:12 +02:00
4d92835997
reftests: Add a reftest to check shorthands do work
...
Checks shorthands are properly unpacked in the CSS and that they indeed
set all relevant properties. Or at least border-width does.
2011-05-22 05:56:12 +02:00
ef51b5be76
reftests: Add label-shadows test
...
Tests shadows work properly for rotated labels
2011-05-22 05:56:12 +02:00
d392af2e36
reftests: Check that inherited properties work
2011-05-18 22:17:59 +02:00
25c396409c
reftests: Check style property order
...
Ensure that style properties are read in the correct order, by having a
property twice with vastly different values.
2011-05-18 22:17:58 +02:00
1400644069
reftests: Add a test ensuring selectors don't match children
...
Previously, the selector "Foo" would not only match Foo widgets, but
also all widgets that are descendants of Foo.
2011-05-18 22:17:57 +02:00
f3ed498c5b
reftests: Add a test for descendant CSS selectors match
...
In widget hierarchy like "Foo Bar Bar Baz", we want the selector "Foo >
Bar Baz" to match, because it matches the elements 1, 2 and 4.
Previously, the selector only matches the Bar at position 3 and then
failed because it wasn't preceded by a Foo.
2011-05-18 22:17:56 +02:00
806c804271
reftests: Add a test that checks that * matches regions
2011-05-18 22:17:56 +02:00
dda83e2f98
reftests: Unset background-image in CSS of test
...
Otherwise the test screws up when it's set
2011-05-18 22:17:56 +02:00
b8eac1e130
reftests: Add a check for matching regions only once
2011-05-18 22:17:56 +02:00
8ca799cc39
reftests: Add a test for matching by class
2011-05-18 22:17:56 +02:00
78de3e8180
reftests: Add a test for matching by name
2011-05-18 22:17:56 +02:00
269fe0f347
reftests: Add a test for matching by subtype
2011-05-18 22:17:56 +02:00
90caef4abe
reftests: Add test to check that matching by type works
2011-05-18 22:17:56 +02:00
c2f23ccd23
reftests: Add a shell script to create tests
...
See the documentation in the script.
Tests are not yet added as the output from the 2 included scripts
doesn't match and the intended reference output first needs to be agreed
on.
2011-05-13 02:46:15 +02:00
d20aa1f8dc
reftests: Add a test for the label fix
2011-05-12 23:40:26 +02:00
7b6e3be4a7
Another grid spacing reftest
...
This one checks that empty rows/columns don't affect layout.
2011-05-11 19:52:33 -04:00
87e46bfaa9
Add some reftests comparing aspects of grid and box spacing
2011-05-11 13:48:00 -04:00
d01d90fccd
reftests: Add test for undersized children of GtkPaned
...
Tests the recent fixes done in 206b9f940d
and 6bda6f0c58
2011-05-10 01:39:14 +02:00
b6c8671fde
reftests: Add CSS file for alignment test
...
We need to force arrow scaling to 1.0 to get the alignment right.
2011-05-09 13:25:36 +02:00
432e89685f
Fix up the misc-alignment test
...
The new-style ui file had some left-over GtkMisc properties
in it.
2011-05-08 21:28:36 -04:00
42450cacd9
reftests: Modify test to ensure identical output
...
GtkArrow and the align properties use different methods (float vs int)
to center the arrow. If the size of the arrow is odd, this will cause a
rendering that differs by half a pixel. So we request an even size for
both the arrow and the container and everything works out.
2011-05-09 01:36:00 +02:00
3c2105c9cd
reftests: Add misc-alignment test to Makefile
2011-05-09 01:12:29 +02:00
50c36f38ff
reftests: Actually add toplevel vs popup testcase
...
Adds missing files from 79d1b11d0b and
reverts eba4ca3e66 .
2011-05-09 01:10:13 +02:00
eba4ca3e66
Drop missing tests
2011-05-07 00:03:13 -04:00
6c1133c885
Add an alignment property test
...
This test compares GtkAlignment properties and GtkWidget margin and
alignment properties.
2011-05-05 22:21:59 -04:00
9966acbdaa
Expand GtkMisc tests to cover arrows and images
...
This unveils something fishy with arrows.
2011-05-05 21:47:14 -04:00
587e534b7e
Add a misc-alignment reftest
...
This test compares GtkMisc properties and GtkWidget margin and
alignment properties.
2011-05-05 17:53:12 -04:00
ebc325d38c
More box<>grid comparison tests
...
Add a more complicated case with multiple expanding children.
Also, make the window a popup.
2011-05-05 17:13:28 -04:00
dced75dcc4
reftests: Add missing css file for grid-expand test
2011-05-05 19:34:31 +02:00
ac06529f61
reftests: Add testcase for label justify fix
2011-05-05 17:33:44 +02:00
278260a3ae
reftests: Fix filename in makefile
2011-05-05 17:33:44 +02:00
79d1b11d0b
reftests: Add a test that ensures toplevels and popups render identical
2011-05-05 17:33:44 +02:00
66f0544238
reftests: Ensure we got a draw event before quitting the main loop
2011-05-05 17:33:04 +02:00
3f4f900242
reftests: Add a hack to make toplevels work in various WMs
...
If we have a toplevel, and not a popup window, do wait an additional
0.5s to give the WM/server enough time to actually create the window.
This is a hack and there should be a better solution. But it works.
Please use POPUP windows for tests unless the test must use toplevel
windows.
2011-05-05 17:33:04 +02:00
5c026f32e9
reftests: Plug a leak
2011-05-05 17:33:04 +02:00
9f47d388f2
reftests: Add test for box expand handling
2011-05-05 17:33:04 +02:00
96c9dd119b
reftests: Add a test for grid expand flags
2011-05-05 17:33:04 +02:00