Matthias Clasen
a4deb7e7b4
Reshuffle the css tests a bit
2017-10-10 00:18:21 -04:00
Matthias Clasen
a45e497fdf
Install css api test again
2017-10-09 23:35:19 -04:00
Matthias Clasen
a2ee124d99
Install css style tests again
...
Reinstate the installed tests for css style.
2017-10-09 23:32:13 -04:00
Matthias Clasen
6c294e6804
Install css parser tests again
...
Reinstate the installed tests for the css parser.
2017-10-09 23:29:10 -04:00
Matthias Clasen
e5aa2021a0
Install css node tests again
...
Reinstate the installed tests for css nodes.
2017-10-09 23:24:23 -04:00
Emmanuele Bassi
391d1a04ec
Drop Autotools build
...
We are officially switching to Meson as the default build system for
GTK+.
2017-08-14 22:23:09 +01:00
Chun-wei Fan
171ff43340
tests: Include system headers appropriately
...
Don't include unistd.h on Windows, and include the appropriate headers on
Windows as necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
2017-07-21 23:36:03 +08:00
Timm Bäder
271749d4a6
testsuite: Update expected css node output
2017-07-19 21:27:14 -04:00
Timm Bäder
3babd184c0
scale: Fix css node ordering and expected results
...
Add :dir(ltr) where expected, i.e. everywhere we now have a widget but
had a gadget before.
Also, fix the expected output to expect mark subnodes in the order
specified in the GtkScale does, i.e.
├── mark
├── [label]
╰── indicator
for marks at the top of the scale and
├── mark
├── indicator
╰── [label]
For marks at the bottom of the scale.
2017-07-19 21:27:13 -04:00
Timm Bäder
fe9833a2f8
css nodes: Fix expander test case
...
Vertical box subnode.
2017-07-19 21:27:13 -04:00
Timm Bäder
f4bfb0a07a
css nodes: Fix entries test case
...
Spinbuttons now have a subnode box and the undershoot nodes belong to
the entry node.
2017-07-19 21:27:13 -04:00
Timm Bäder
082cf3553d
meson: Build gtk marshallers
...
And fix libgtk_dep/libgdk_dep to link_with the shared lib
2017-05-03 15:10:50 +01:00
Timm Bäder
1e8a606403
meson: Add unit test files
2017-05-03 15:10:50 +01:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
8f4c0bea65
expander: Use widgets for title box and arrow
2017-04-25 20:30:36 +02:00
Matthias Clasen
0f4a31edae
css style tests: Update expected results for gradient tests
...
This is the same as the previous commit.
2017-03-31 14:04:58 -04:00
Matthias Clasen
52b7a96bec
css parser tests: Fix radial gradient test results
...
This changed in commit 2a5a94b260
.
2017-03-31 12:50:14 -04:00
Matthias Clasen
19f6df0c5e
css parser tests: Fix up the pseudo class test
...
We don't recognize non-standard names anymore.
2017-03-31 12:48:06 -04:00
Matthias Clasen
55a1587f55
css parser tests: Update border image test results
...
We lost the ability to dump some images.
2017-03-31 12:48:05 -04:00
Matthias Clasen
7d7b45cac0
css parser tests: Drop tests for -gtk-gradient
...
No longer needed.
2017-03-31 12:48:05 -04:00
Matthias Clasen
7f08336108
css parser tests: Update background-image test results
...
We lost the ability to dump some kinds of images.
2017-03-31 12:48:05 -04:00
Matthias Clasen
215f1b9e96
css parser tests: Fix integer test results
...
Many of the deprecation have been removed here.
2017-03-31 12:48:05 -04:00
Matthias Clasen
b2f90e0e3b
css parser tests: Fix background-blend-mode test
...
The css spec calls it 'saturation', not 'saturate'.
2017-03-31 12:48:05 -04:00
Matthias Clasen
ef0956f810
css tests: Update progressbar test results
...
This was a documented change that has not been reflected
in the tests yet.
2017-03-31 12:48:05 -04:00
Matthias Clasen
bdc607bbd9
css tests: Update entry test results
...
Just visibility changes here.
2017-03-31 12:48:05 -04:00
Matthias Clasen
ca0a291e5f
css nodes: Update the combobox test results
...
Some changes in the details here; we removed an old widget name.
2017-03-31 12:48:05 -04:00
Matthias Clasen
0934052618
css tests: Update the GtkSwitch node tests
...
The node hierarchy for GtkSwitch has changed.
2017-03-31 12:48:05 -04:00
Matthias Clasen
c4fd5bc233
Add a css parser test for border-spacing
2016-12-10 20:41:07 -05:00
Matthias Clasen
b1f2e3b581
Remove -gtk-gradient from css parser tests
...
It is not supported anymore.
2016-12-10 20:40:48 -05:00
Benjamin Otte
dfd9150a82
build: Don't link against libgtk and libgdk
...
libgdk is statically linked these days, so if you link against it, all
of its symbols will exist twice: Once in libgtk.so and once in your
binary.
2016-11-20 11:19:32 +01:00
Timm Bäder
f8eaadb32e
testsuite: Update buttons.nodes
...
We don't create a box anymore here.
2016-10-20 17:09:47 +02:00
Timm Bäder
1bb3501ef7
Fix unittests
2016-10-18 00:34:41 +02:00
Benjamin Otte
4322b69528
cssprovider: Return void, not TRUE
...
Parsing a css file always succeeds as CSS can recover from parsing
errors.
2016-10-17 17:41:03 +02:00
Timm Bäder
f2c455fedb
Remove GtkThemingEngine
...
As well as the corresponding GtkCssEngineValue used to parse it in css.
2016-10-16 18:17:21 +02:00
Timm Bäder
5d3a5ffdfb
Fix a few css/a11y test cases
...
They were broken because of missing -icon-stock properties in GtkEntry
and GtkButton not creating an adjustment child anymore.
2016-10-16 18:17:21 +02:00
Matthias Clasen
d053d5c58f
Rename Makefile references from 3.0 to 4.0
...
This is almost certainly incomplete.
Needs careful scrutiny
2016-10-07 10:34:50 -04:00
Matthias Clasen
c7654c737c
Add a css parser test for background-blend-mode
2016-07-05 13:16:43 -04:00
Matthias Clasen
1dbbe7f251
button css node test: Update for switch style changes
...
We no longer add the redundant .slider style class in GtkSwitch.
Update expected results to reflect that.
2016-06-01 13:12:19 -04:00
Matthias Clasen
28b9e16272
css node tests: Update expected results
...
We were not propagating direction changes in some places,
evidently. Now we do.
2016-06-01 13:11:27 -04:00
Matthias Clasen
eace965a19
scale css node test: Adapt to changes
...
The style classes are reflected in the output here.
2016-05-19 12:26:47 -04:00
Matthias Clasen
c27b8b48ab
Update color name css style test
...
Verify rebeccapurple too.
2016-05-05 15:37:42 -04:00
Matthias Clasen
a91fc65291
label css style test: fix font syntax
2016-04-26 00:07:01 -04:00
Matthias Clasen
2968098f74
Remove debug spew
2016-04-26 00:07:00 -04:00
Matthias Clasen
7855294594
Fix css parser tests
...
These tests were affected by the font and linear-gradient parsing
changes.
2016-04-26 00:03:09 -04:00
Matthias Clasen
5ab6ff6b5e
Expand css style font tests
...
Test more of the syntax of the font: shorthand.
2016-04-18 14:38:53 -04:00
Matthias Clasen
5993875d38
Fix the css style font test
...
Setting the font: shorthand to something like smaller is not
in line with the css spec. Just set the font-size: property
for this.
Also fix the other font: shorthand to specify size and family
according to the css spec.
2016-04-18 11:46:58 -04:00
Matt Watson
7200ac8e56
Fix label css test
...
The default font size of 10pt will now properly render as 13.33px,
but we shouldn't use the default anyway as that can be controlled
by user settings
2016-04-14 11:52:11 -07:00
Matthias Clasen
4c8557fa35
Add a css node test for scales
2016-03-25 13:22:11 -04:00
Matthias Clasen
caa804613d
add a css style test for font: smaller
2016-03-24 22:58:43 -04:00
Matthias Clasen
24f54d50c4
Update css node test for GtkSwitch changes
2016-03-24 22:43:27 -04:00
Matthias Clasen
1716e0b038
Revert "add a css style test for font: smaller"
...
This reverts commit a4ed154b03
.
The misparsing that is tested here will not be fixed in 3.20,
so keep this test out of the stable branch.
2016-03-24 22:43:27 -04:00
Matthias Clasen
a4ed154b03
add a css style test for font: smaller
2016-03-24 08:25:11 -04:00
Matthias Clasen
8205a304e8
Add a css node test for comboboxes
2016-03-02 15:20:31 -05:00
Matthias Clasen
444703f2bb
css node tests: Update notebook results
...
This is fallout from changing the tab states.
2016-03-01 23:25:56 -05:00
Benjamin Otte
3056d793a4
cssparser: Make _gtk_css_parser_has_number() a bit smarter
...
Previously we just checked the first character. And if that was a "-" as
in "-gtk-some-special-value", we assumed it was a number. Which it
clearly wasn't.
Test included
2016-02-23 04:22:19 +01:00
Matthias Clasen
c30d542a17
Some more CSS node tests for notebooks
2016-02-15 14:20:48 -05:00
Benjamin Otte
0cda3ba3e8
calc: Allow subterms with '(' ')' bracketing
...
Some more tests included.
2016-02-13 04:49:08 +01:00
Benjamin Otte
63d1f80742
css: Add support for '*' and '/' to calc()
...
More tests are included.
2016-02-13 04:49:08 +01:00
Benjamin Otte
4a9fa1e750
css: Add API to handle order when printing calc()
...
Also, add some tests and update old ones to print calc() statements
correctly.
2016-02-13 04:49:08 +01:00
Benjamin Otte
65dd9da44a
css: Add support for sums to calc()
...
This requires adding code to do math on number values:
gtk_css_number_value_multiply()
and
gtk_css_number_value_try_add()
were added to achieve that.
Some tests are included.
2016-02-13 04:49:08 +01:00
Benjamin Otte
cd6dc954f2
css: Add initial support for calc()
...
So far, calc() only supports literals, ie it's completely useless.
2016-02-13 04:49:08 +01:00
Matthias Clasen
e0f31ab7bb
Add css node tests for box packing
...
More tests to ensure that CSS node order is always physical
left-to-right.
2016-02-08 09:34:19 +01:00
Matthias Clasen
4a465e6832
Fix levelbar css node tests
...
These were affected by the recent change to level offset handling.
At the same time, make the test files more realistic by updating
the level offsets when we set a custom range.
2016-02-07 11:43:13 +01:00
Benjamin Otte
0c12601208
cssimageradial: Only allow at "<position>" after other props
...
Don't allow syntax like
at top left circle
but follow the spec about requiring the at <position> right before the
comma.
This is porbably because
circle at 10px 10px
could be interpreted as
circle 10px at 10px
with the now disallowed syntax, too.
Test included.
2016-02-05 19:31:47 +01:00
Benjamin Otte
982da040b2
cssimageradial: Only emit one error for wrong position
...
Test included.
2016-02-05 19:31:47 +01:00
Matthias Clasen
f2e08d3a9c
css tests: Fix style tests
...
Commit d0fd7990c3
changed
the location of builtin themes, breaking the loading of
the empty theme in test-css-style.
2016-02-05 16:35:43 +01:00
Matthias Clasen
132abb8749
css tests: Fix expected output
...
This is fallout from f7ec9c98ef
.
2016-02-05 16:35:43 +01:00
Matthias Clasen
586522d83c
Use TAP output for installed tests
2016-01-30 11:04:22 -05:00
Matthias Clasen
f887fec55c
Add a css style test for color names
...
Verify that we support all the css color names, with their expected
rgb values.
2016-01-29 18:23:25 -05:00
Matthias Clasen
8cbe309f36
css node tests: Update expected output
...
The entry undershoot change needs to be reflected in the
test output.
2016-01-27 13:23:58 -05:00
Matthias Clasen
7097a4ed64
Fix another quoting error in installed tests
...
Same as the previous one. I should fix my silly mistakes before
copying them around...
2016-01-25 13:02:13 -05:00
Matthias Clasen
cce493493c
testsuite: Fix a quoting error
...
This was breaking continous testing. Oops.
2016-01-25 10:56:19 -05:00
Matthias Clasen
bb92428112
notebook: Implement rtl flipping for CSS nodes
...
Use gtk_box_gadget_reverse_children and gtk_css_node_reverse_children
to flip the children of the header_gadget and the tabs_gadget when
appropriate.
Add new CSS node tests to verify that the node order is updated
as expected in all cases.
2016-01-19 21:40:47 -05:00
Matthias Clasen
c24c56a143
Forgotten file
2016-01-18 09:41:46 -05:00
Matthias Clasen
65ae48d707
Add more CSS node tests for notebooks
2016-01-18 07:41:33 -05:00
Matthias Clasen
83eb36a896
Add CSS node tests for checkbutton rtl flipping
2016-01-18 00:29:29 -05:00
Matthias Clasen
121aec6de8
Add css node tests for expander rtl flipping
2016-01-18 00:24:53 -05:00
Matthias Clasen
2ec16c9f91
Add css node tests for right-to-left levelbars
2016-01-13 13:39:41 -05:00
Matthias Clasen
a0fdbff938
Add css node tests for paned node ordering
2016-01-13 00:41:44 -05:00
Matthias Clasen
e386fcae04
Update expected output of notebook css node test
...
The stack node is new.
2016-01-13 00:26:48 -05:00
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
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
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
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
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
Matthias Clasen
e567f23bcd
Update another css parser test
...
This test was using the engine property, which has
been deprecated and thus generates an error now.
Instead, use the font property.
2015-12-21 14:18:51 -05:00
Matthias Clasen
dcc3dd1211
Update css parser test for declarations
...
Use existing CSS properties instead of made-up ones.
2015-12-21 14:14:36 -05:00
Matthias Clasen
0035d526c3
test-css-parser: Drop unused property
...
The rgba-property is no longer used in any tests, drop it.
2015-12-21 14:11:10 -05:00
Matthias Clasen
6eb4102bf2
Update css parser tests for colors
...
Use the color property instead of a made-up rgba-valued property.
2015-12-21 14:10:20 -05:00
Matthias Clasen
a21025e096
test-css-parser: Drop unused property
...
The border-property is no longer used in any tests, drop it.
2015-12-21 14:07:08 -05:00
Matthias Clasen
b56980eba2
Update css parser test for borders
...
Use the border-image-width property instead of a made-up
border-valued property.
2015-12-21 14:06:07 -05:00
Matthias Clasen
0c9c6b882e
Update border-radius-shorthand tests
...
The name of the css file is in the error output, so we
have to update that after the file was recently renamed.
2015-12-21 14:01:03 -05:00
Matthias Clasen
01f2d4dd0f
Update pseudo-class test
...
We have some more pseudo-classes now, and some are printed
out with their CSS name.
2015-12-21 13:59:24 -05:00
Matthias Clasen
6d86ce516d
test-css-parser: Drop unused properties
...
We don't have any tests involving these style
properties, so don't install those.
2015-12-21 13:57:26 -05:00
Matthias Clasen
a5ccef7470
Don't test parsing boolean values in css
...
CSS doesn't have any boolean properties.
2015-12-21 13:51:23 -05:00
Matthias Clasen
698fe18521
Add missing tests to Makefile.am
2015-12-21 06:58:29 -05:00
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