Benjamin Otte
d75989a52b
cssstyle: Don't store custom css properties
...
This makes custom CSS properties no longer configurable. But it avoids
crashes when loading custom themes, so that's a good thing.
Testcase included.
https://bugzilla.redhat.com/show_bug.cgi?id=1281234
2015-11-20 21:22:15 +01:00
Matthias Clasen
fe65c3ac4c
Add one more selector to CSS parsing tests
...
Add an E + F selector to the selector parsing tests.
It is a CSS selector that we support.
2015-11-14 19:04:42 -05:00
Matthias Clasen
2d054fa6ae
Always pass the right state in style context getters
...
Otherwise, we are causing warnings that break make check.
2015-11-14 19:03:57 -05:00
Matthias Clasen
40190c295c
Add a test for gtk_style_context_list_classes
...
This test failed before the previous commit.
2015-10-03 17:38:36 -04:00
Benjamin Otte
ec57c6c10b
csspathnode: Handle context going away
...
Sometimes path nodes can survive longer than the style context that
created them. Don't crash in those cases.
Fixes startup of mutter.
Testcase included.
https://bugzilla.gnome.org/show_bug.cgi?id=746407
2015-03-18 18:24:45 +01:00
Benjamin Otte
6c00eba7fb
testsuite: Add another random stylecontext test
2015-03-18 15:23:31 +01:00
Benjamin Otte
edec64cda3
stylecontext: Don't crah when invalidate() is called on saved context
...
We need to invalidate the root node, not the current one.
Fixes crashes on startup of eclipse.
Testcase included.
https://bugzilla.redhat.com/show_bug.cgi?id=1185828
2015-02-04 21:20:29 +01:00
Matthias Clasen
52ec7bf54e
Add a test for matching with states
2014-07-22 18:50:31 -04:00
Benjamin Otte
93b3179042
widgetpath: Deprecate regions
...
This is a foolowup to d80bf0790d
2014-06-21 15:46:44 +02:00
Benjamin Otte
0e64019df3
testsuite: Remove a test
...
That test is not working anymore by design since commit 57c4f01e
.
It was introduced pre-3.0.0 in commit 12d6b588
and the feature was never
utilized. So it seems safe to just remove the test.
2014-06-16 18:43:50 +02:00
Benjamin Otte
5f83d6188f
testsuite: Remove extra calls to gtk_style_context_invalidate()
...
They aren't needed anymore.
2013-10-05 13:57:51 +02:00
Benjamin Otte
bdfb55c945
build: Move gtk/tests to testsuite/gtk
2013-05-15 15:37:16 +02:00