Matthias Clasen
3daeb70182
Fix the build
2015-12-21 06:45:32 -05:00
Matthias Clasen
d081b309d5
Add some css parser tests
...
These tests exercise many allowed ways to specify various
properties.
2015-12-21 06:28:25 -05:00
Matthias Clasen
cbde3ee01f
css: Add a :dnd pseudoclass
...
This will be used for drag highlighting.
2015-12-02 23:23:36 -05:00
Matthias Clasen
8640216be7
Add a test for deprecated css properties
2015-11-23 22:31:20 -05:00
Benjamin Otte
7b6c68adc6
testsuite: Fix test that was committed in a broken state
...
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.
2) Actually sort the reference properly
This unbreaks the test.
2014-12-01 04:05:44 +01:00
Benjamin Otte
06952d807a
testsuite: Add a bunch of parsing tests for :not()
2014-11-25 19:33:18 +01:00
Matthias Clasen
e014b89310
Move gtkthemingengine to deprecated directory
...
This is the place for wholly-deprecated sources.
2014-08-29 16:35:37 -04:00
Emmanuele Bassi
5ad60caa3c
css: Implement font-stretch
...
The font-stretch CSS property is defined in the Level 3 CSS Fonts
module, available at:
http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch
It allows defining a normal, condensed, or expanded face to the font
description. Pango already supports it, so this is literally just the
CSS parser machinery needed to bridge our CSS to the FontDescription
API.
https://bugzilla.gnome.org/show_bug.cgi?id=735593
2014-08-28 13:41:40 +01:00
Benjamin Otte
36a2e7ca8e
css: Add a :checked pseudoclass
...
https://bugzilla.gnome.org/show_bug.cgi?id=733967
2014-08-16 16:34:14 +02:00
Benjamin Otte
d6e9997619
css: Fail animation shorthand parsing properly
...
When a number is not a nubmer, don't just crash, exit properly with an
error code.
See attached testcase for an example.
2014-07-31 10:03:19 +02:00
Benjamin Otte
5f5d3a9d82
css: Don't infloop when parsing broken borders
...
There was an infinite loop when parsing invalid text after having parsed
a color in the border shorthand. See attached testcase for an example.
2014-07-31 10:03:18 +02:00
Matthias Clasen
c10ddf8ec8
Install a missing file
...
This was causing the css parser tests to fail in continuous.
2014-07-21 22:05:15 -04:00
Benjamin Otte
3661756070
testsuite: Add test for pseudoclasses
...
They should all be printable.
2014-07-21 19:54:14 +02:00
Benjamin Otte
0b2198a26b
testsuite: Add parser test for recent fix
...
The test doesn't crash without the fix, but it parses the CSS
incorrectly and fails.
2014-07-07 14:26:06 +02:00
Benjamin Otte
aeac92a497
testsuite: Add test for latest commit
2014-06-17 00:01:25 +02:00
Benjamin Otte
6affe29c9a
testsuite: Add missing errors file
...
The file was forgotten in 98954bd1d1
and
caused test failure. Oops.
2014-06-11 01:18:04 +02:00
Benjamin Otte
98954bd1d1
testsuite: Add a test for recent fix
2014-06-10 01:07:57 +02:00
Matthias Clasen
98cf67ddba
testsuite: put installed tests in the right place
...
Follow the prevailing practice and put the installed tests
into $libdir/installed-tests/$PACKAGE instead of
$pkglibdir/installed-tests.
2014-05-31 00:16:07 -04:00
Benjamin Otte
b90802f7e4
css: Actually break at end of the string
...
Introduced in 65c4c1555d
.
Found by gnome-continuous running the testsuite.
Includes fixing a broken test in the testsuite.
2014-05-22 02:13:49 +02:00
Benjamin Otte
3aa357bcab
tests: Add test for latest patch
...
This tesst infloops without it.
2014-05-05 15:48:02 +02:00
Benjamin Otte
947cac2b85
testsuite: Don't leak in test runner
2014-02-23 15:40:46 +01:00
Jasper St. Pierre
4e09b56b76
testsuite: Ignore generated .test files
2013-07-11 12:57:06 -04:00
Matthias Clasen
c8a392612b
Use g_test_get_dir in test to locate files
...
This makes the tests work both installed and for make check.
2013-05-29 21:37:05 -04:00
Matthias Clasen
0d768ee8a8
Make sure we dist all testsuite ingredients
2013-05-29 21:00:37 -04:00
Benjamin Otte
7c26980f3e
tests: Install tests/css/parser
2013-05-21 13:11:10 +02:00
Benjamin Otte
12953f20b3
tests: Install testsuite/css
2013-05-21 13:11:10 +02:00
Benjamin Otte
edde840513
build: Move tests/css to testsuite/css
2013-05-15 15:37:17 +02:00