Matthias Clasen
d967500c92
Fix parser tests for color changes
2012-11-20 05:54:53 -05:00
Benjamin Otte
1a213679bd
symboliccolor: Change the print output
...
Functions should not have a space before the opening parenthesis. So
change output like
alpha (@color, 0.5)
to
alpha(@color, 0.5)
and do the same for "shade" and "mix".
Tests have been updated accordingly.
2012-11-08 23:34:06 +01:00
Benjamin Otte
861a031132
tests: Add test for latest bugfix
2012-10-12 17:45:46 +02:00
Benjamin Otte
23cc1e9528
tests: Add a simple CSS test for cross-fade
2012-09-17 20:39:13 +02:00
Benjamin Otte
c5551e55ce
tests: Add test for last commit
2012-09-17 20:39:11 +02:00
Benjamin Otte
cdbc6f48bb
tests: Add parsing test for keyframe parsing
...
Ensure we order properly when printing
2012-09-17 20:39:11 +02:00
Benjamin Otte
1bbd3235db
tests: Add tests for keyframe parsing
...
Ensure we parse empty keyframes correctly
2012-09-17 20:39:10 +02:00
Cosimo Cecchi
baf6f38f1a
tests: add background-shorthand parser test for multiple backgrounds
...
These CSS files test the background shorthand property when it's used
with multiple background layers.
2012-05-15 13:24:41 -04:00
Cosimo Cecchi
b58fa2ca32
tests: move background-shorthand test to background-shorthand-single
...
And update/fix it for the new shorthand parsing, since the old test did
a couple of things wrong:
- it erroneously flipped background-clip and background-origin when
testing
- it was missing default initial values for background-size and
background-position from the generated test output
2012-05-15 13:24:41 -04:00
Cosimo Cecchi
8aec81333d
tests: add trailing commas to background-shorthand.css test file
2012-05-15 13:24:40 -04:00
Matthias Clasen
e9e557a353
Update reference output for css parser tests
...
Seems these were not kept up-to-date with the recent
CSS parser changes.
2012-04-30 20:45:46 -04:00
Benjamin Otte
14fb4984ce
tests: Add a parsing test for the transition property
2012-04-17 08:59:24 +02:00
Benjamin Otte
0048c8baf5
tests: Add a test ensuring currentColor is parsed everywhere
2012-04-17 08:59:20 +02:00
Benjamin Otte
8f240275fd
tests: Add a parsing test for shadows
2012-04-17 08:59:17 +02:00
Benjamin Otte
3e601691d9
tests: Change expected errors to conform with output
...
This change isn't strictly correct, but I can't be bothered until we get
a tokenizer that can really differentiate between allowed values and
invalid syntax.
2012-04-17 08:59:12 +02:00
Benjamin Otte
cbe40f27e1
tests: Add a parsing test for nth-child()
...
Now that we support the an+b notation, make sure we really do.
Maybe my generating script went a bit overboard with the space
possibilities though...
2012-04-17 08:59:08 +02:00
Benjamin Otte
122cde9528
tests: Add a uint8 test
...
... to ensure the last test works.
2012-04-09 03:09:44 +02:00
Benjamin Otte
01650a9fe2
tests: Add missing file
...
Forgot to git add in 5a20c42c7c
2012-03-19 22:27:18 +01:00
Benjamin Otte
5a20c42c7c
tests: Add background-position parsing test
...
Man, the syntax is convoluted.
2012-03-17 05:13:22 +01:00
Benjamin Otte
c628ec30e1
tests: Add parsing tests for sibling selectors
2012-03-02 02:17:10 +01:00
Benjamin Otte
1b770caf0a
tests: Add a test for using the same selector multiple times
2012-03-02 02:17:09 +01:00
Benjamin Otte
35a0fb09ac
css: Rewrite selectors
...
Previously we kept a Selector object for every "simple selector" (term
from CSS spec). Now we keep one for every match operation. So given the
selector
".a b:focus"
we will have 4 elements:
- pseudoclass ":focus"
- element "b"
- match any desendant (the space)
- class ".a"
Each of those is represented by a "selector class" which is basically
the collection of vfuncs for this selector.
2012-03-02 02:17:09 +01:00
Benjamin Otte
eb013767bb
selector: Remove a misleading error message
...
Duplicate selectors are indeed fine and shouldn't cause errors.
You want to use them to up specificity.
2012-03-02 02:17:09 +01:00
Javier Jardón
9d0febc9a6
Change FSF Address
2012-02-27 17:06:11 +00:00
Matthias Clasen
ac9a94b7af
Fix declarations-valid-15 css parser test
2012-02-06 14:44:21 -05:00
Matthias Clasen
b5d5e6427a
Fix declarations-valid-14 css parser test
2012-02-06 14:06:20 -05:00
Benjamin Otte
2fdadb053c
tests: Add 'px' to css tests
2012-02-02 03:14:02 +01:00
Benjamin Otte
82b739c490
tests: Add parsing test for background-size
2012-02-02 03:14:01 +01:00
Benjamin Otte
2e901752b1
tests: Add parsing tests for linear gradients
2012-02-02 03:14:01 +01:00
Benjamin Otte
f22c986102
tests: Update CSS tests for borders
...
Borders now expect 'px'.
2012-02-02 03:14:00 +01:00
Benjamin Otte
f04c12bd2c
tests: Add a deprecation warning
...
This should probably have been added a while ago...
2012-01-16 18:34:41 +01:00
Cosimo Cecchi
d994ace41e
tests: add a CSS test for currentColor in border-color
2012-01-11 17:37:21 -05:00
Rico Tzschichholz
71f6b2d40a
tests: Fix typo in Makefile.am
2012-01-10 17:00:57 +01:00
Benjamin Otte
3d6a76a866
tests: Add a test for all the border shorthands
...
Too much fun with random test generation, so I did a big one.
2012-01-09 18:37:59 +01:00
Benjamin Otte
f021291423
tests: Fix for changes in this branch
...
The expected results are now more correct, but still not perfect.
2012-01-09 18:37:59 +01:00
Paolo Borelli
e69f14cf2b
Add border-{top|left|bottom|right}-style properties
...
Add all the border-style subproperties and turn border-style itself in a
shorthand.
2012-01-09 18:37:58 +01:00
Benjamin Otte
af8c7ebecd
tests: Add test for background-repeat
2012-01-09 18:37:58 +01:00
Benjamin Otte
77af93bad9
reftests: Add a test for 'background'
...
It just tests all the permutations to make sure my idea for implementing
random ordering actually works.
It does (at least currently).
2012-01-09 18:37:58 +01:00
Benjamin Otte
232d9226f9
tests: Add test for 'initial' and 'inherit' on shorthands
2012-01-09 18:37:55 +01:00
Benjamin Otte
f6422513b1
shorthand: Update border-image parsing
...
Also update tests. None is not a valid value...
2012-01-09 18:37:54 +01:00
Benjamin Otte
06960bb9d6
tests: Add a test for 'none'
2012-01-09 18:37:51 +01:00
Benjamin Otte
6fdf6ba68f
css: Remove generic 'none' handling
...
Includes updated tests.
Who could have thought that our tests were broken. Ooops.
2012-01-09 18:37:51 +01:00
Benjamin Otte
e9dfb8d5b8
tests: Add tests for 'inherit' and 'initial'
2012-01-09 18:37:51 +01:00
Matthias Clasen
9a13943d8c
Add a css parser test for transparent
2011-10-25 07:38:36 -04:00
Matthias Clasen
85a6bc8be1
Distribute tests/css/parser/selector.errors
...
https://bugzilla.gnome.org/show_bug.cgi?id=662024
2011-10-20 21:52:25 -04:00
Michael Terry
431227e1af
tests: Add test for non-nullterminated gtk_css_provider_load_data()
...
https://bugzilla.gnome.org/show_bug.cgi?id=657359
2011-08-26 16:26:28 +02:00
Benjamin Otte
26e9d07718
API: cssprovider: Change parsing-error signal
...
Instead of path, line and position, emit the section the error happened
in. This has a lot more information to consume.
2011-08-26 16:26:28 +02:00
Benjamin Otte
62d231aeff
cssparser: Make lines and positions 0-indexed
2011-08-26 16:26:28 +02:00
Rico Tzschichholz
ecd5f73dd7
build: Fix makefile for new location of test image
2011-07-23 12:27:45 +02:00
Benjamin Otte
d56e8c8e54
tests: Move declaration tests to new test infrastructure
...
This way, we can test more feature of them, in particular check for
different errors, which were causing test failures.
2011-07-21 02:43:54 +02:00