Matthias Clasen
6d239cfba7
Add a css style test for adjacent states
...
This test checks that the selector E:state + F works as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=722727
2016-01-10 14:51:36 -05:00
Matthias Clasen
1eaf035a78
reftests: Drop deprecated style properties
2016-01-08 18:11:07 -05:00
Matthias Clasen
fe35836168
Update expect output of a11y tests
2016-01-08 18:11:07 -05:00
Matthias Clasen
e84f1ae3bb
Update the list of required cursors
...
We're now using standard cursor names for DND, so check for these.
2016-01-08 18:11:07 -05:00
Matthias Clasen
d76fb63ba8
Add a test for ltr vs rtl boxes.
...
This tests that horizontal boxes flip their child nodes
according to text direction to maintain the left-to-right
ordering of child nodes for both text directions.
2016-01-06 14:57:42 -05:00
Matthias Clasen
a519a1a928
CSS node tests: Add a way to test rtl vs ltr
...
CSS nodes have a linear sibling relationship; this is supposed
to correspond to left-to-right placement in horizontal arrangements.
This commit explicitly sets the text direction to rtl if the
filename ends in .rtl.ui, so we can test differences in node
tree layout between text directions.
2016-01-06 14:57:42 -05:00
Matthias Clasen
d9a70bc56a
Add a CSS style test for gradients
...
This mainly just tests that gradients are properly
reproduced by gtk_style_context_to_string.
2016-01-04 13:59:48 -05:00
Matthias Clasen
fcea12f790
Add some tests for radial gradient parsing
...
These are the examples from the CSS spec.
2016-01-04 13:59:24 -05:00
Matthias Clasen
d8e1fd6079
Update expected output
...
The previous commit changed the format of the output
generated by the CSS style tests.
2016-01-03 17:23:59 -05:00
Matthias Clasen
12be432df7
Skip GdkX11DeviceManagerCore in default value tests
...
We already skip the XI2 implementation, and the core
one needs the same treatment.
2016-01-03 16:14:43 -05:00
Matthias Clasen
e1634d18de
Update expected output for CSS style tests
...
The format for CSS values changed slightly in one of the
previous commits.
2016-01-03 15:41:09 -05:00
Matthias Clasen
3c26aef826
Use a custom theme for CSS style tests
...
Use a custom, empty theme and stop importing reset-to-defaults.css.
This avoids overwriting initial values, so our initial value
filtering works better.
2016-01-03 15:39:55 -05:00
Matthias Clasen
d0e648d4f6
Update expected output for node and style tests
...
The previous commit changed the format of the output.
2016-01-03 14:41:43 -05:00
Cosimo Cecchi
28e185dd1b
tests: fix Makefile.am syntax
...
It requires a tab character, or the build will fail.
2016-01-03 11:33:19 -08:00
Matthias Clasen
489928cbb4
Fix the build
2016-01-03 12:05:57 -05:00
Matthias Clasen
f7a93c015c
Forgotten file
...
I forgot to add this file to source control when the new tests
were initially added.
2016-01-03 12:02:11 -05:00
Matthias Clasen
2dd8d1ad53
Update expected results of a11y tests
...
All of these now have a harmless extra "panel".
2016-01-03 10:56:11 -05:00
Matthias Clasen
7a01741575
Skip GdkX11DeviceManagerCore in notify tests
...
We already skip the XI2 implementation, and the core
one needs to the same treatment.
2016-01-03 10:34:40 -05:00
Matthias Clasen
ed5ebc0711
Add a css style test for currentColor
2016-01-03 09:19:31 -05:00
Matthias Clasen
33be60b0ab
Add a css style test for inherit and initial
2016-01-03 09:19:31 -05:00
Matthias Clasen
1ec34ae085
Add a css style test for :first/last/only-child
2016-01-03 09:19:31 -05:00
Matthias Clasen
82a571e0ca
Add a css style test for font inheritance
2016-01-03 09:19:31 -05:00
Matthias Clasen
905ab53c71
Add a test framework for CSS styles
...
This uses the same function for dumping CSS nodes and styles
as the CSS node test. It can be used to test aspects of inheritance
and matching, as well as initial values.
No actual tests yet.
2016-01-03 09:19:31 -05:00
Matthias Clasen
864693e5aa
Add CSS node tests for levelbars
2016-01-03 09:19:31 -05:00
Matthias Clasen
0ce5075748
Add CSS node test for progressbars
2016-01-03 09:19:31 -05:00
Matthias Clasen
5c4efb09e2
Add a CSS node test for buttons
2016-01-03 09:19:31 -05:00
Matthias Clasen
78d715af22
Add a CSS node test for entries
2016-01-03 09:19:30 -05:00
Matthias Clasen
669ced3984
Add a CSS node test for notebooks
2016-01-03 09:19:30 -05:00
Matthias Clasen
d2c1203ef1
Add a test framework for CSS nodes
...
No actual tests yet.
2016-01-03 09:19:30 -05:00
Matthias Clasen
d83e9539c5
Fix stylecontext tests to work
...
Some of the tests don't work anymore because they test
features of saved style contexts that have changed, and some
now trigger deprecation warnings.
2016-01-03 01:25:07 -05:00
Matthias Clasen
6da57d61d5
Skip GdkX11DeviceManagerCore in finalize tets
...
We already skip the XI2 implementation, and the core
one needs to the same treatment.
2016-01-03 01:23:35 -05:00
Matthias Clasen
2b27096fc3
Fix outline-radius css parser test
...
The outline-radius properties all got a -gtk prefix.
2015-12-27 17:32:45 -05:00
Matthias Clasen
ab182126df
Fix the pseudo-classes-known css test
...
The test needs to be updated for the renamed :dnd pseudo class.
We also need to add a .errors file for the deprecation errors
that we are now producing.
2015-12-27 17:32:30 -05:00
Matthias Clasen
c4ca671a9e
test-css-parser: Add a way to generate output
...
Use test-css-parser --generate foo.css to see the parser
output on stdout. This makes it more convenient to add new
css files to the testsuite.
2015-12-27 17:26:45 -05:00
Matthias Clasen
d0d8671c02
Forgotten files
2015-12-23 01:57:22 -05:00
Matthias Clasen
ef71eabfc5
Add parser tests for animation properties
...
This adds tests for animation-name, animation-duration,
animation-timing-function, animation-iteration-count,
animation-direction, animation-play-state, animation-delay
and animation-fill-mode.
2015-12-22 22:29:38 -05:00
Matthias Clasen
8f44383253
Add a parser tests for transition properties
...
This adds tests for transition-property, transition-delay
and transition-timing-function.
2015-12-22 22:29:38 -05:00
Matthias Clasen
2b6ab1b8bd
Add parser tests for min-width and min-height
2015-12-22 22:29:38 -05:00
Matthias Clasen
a0487f0516
Add parser tests for border-image properties
...
This adds tests for border-image-source, border-image-repeat,
border-image-slice and border-image-width.
2015-12-22 22:29:38 -05:00
Matthias Clasen
5c704621ac
Fix import css parser tests
...
Don't use nonexisting properties here either
2015-12-21 16:33:50 -05:00
Matthias Clasen
31f319d1c7
css parser test: Drop remaining made-up properties
...
These are not used anymore in any tests, and the css parser
doesn't support parsing custom properties anymore.
2015-12-21 14:53:09 -05:00
Matthias Clasen
ece3d33858
Fix css parser integer test
...
Use margin-top instead of a made-up property.
2015-12-21 14:52:06 -05:00
Matthias Clasen
ce859a7c65
Update css parser value none test
...
The test is affected by icon-shadow being renamed and by
engine being deprecated.
2015-12-21 14:44:00 -05:00
Matthias Clasen
0fb84c5a68
Fix the css parser value initial test
...
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.
2015-12-21 14:37:09 -05:00
Matthias Clasen
474f5b7784
Fix the css parser value inherit test
...
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.
2015-12-21 14:35:11 -05:00
Matthias Clasen
db094092ae
Update font-weight css parser test
...
This is affected by the recent fix for parsing font-weight.
2015-12-21 14:32:01 -05:00
Matthias Clasen
ea651dcd31
Update font-family css parser test
...
There are no errors here.
2015-12-21 14:31:10 -05:00
Matthias Clasen
b931821f5e
Update the css parser unknown pseudo-class test
...
Use an existing property instead of a made-up one.
2015-12-21 14:29:17 -05:00
Matthias Clasen
8ff127940f
Update the css parser selector test
...
Use an existing property instead of the made-up one, here.
2015-12-21 14:27:52 -05:00
Matthias Clasen
1f298c385f
Drop the css parser enum test
...
We are no longer using and non-css properties, and css enums
are all parsed with custom code.
2015-12-21 14:25:46 -05:00