summaryrefslogtreecommitdiff
path: root/testsuite/css/style
Commit message (Collapse)AuthorAgeFilesLines
* testsuite: Update references for style testBenjamin Otte2019-04-128-195/+195
| | | | We have more accurate section printouts now and they are used here.
* css: Make font-weight an integerBenjamin Otte2019-04-121-5/+5
| | | | | This conforms to what Pango does and to the CSS4 spec. And it makes the parsing code easier. So let's go for it.
* stylecontext: Port to use display instead of screenBenjamin Otte2017-10-311-5/+5
|
* Fix test environmentsMatthias Clasen2017-10-181-1/+7
|
* Test suite cosmeticsMatthias Clasen2017-10-183-16/+13
| | | | | Reshuffle things a bit more, sort the test files into subdirectories, and shorten their names.
* More testsuite cosmeticsMatthias Clasen2017-10-181-1/+1
| | | | Unify the test naming some more.
* Update the css style testMatthias Clasen2017-10-121-5/+5
| | | | The new font-variant support affected the output here.
* Make css node and style tests runMatthias Clasen2017-10-121-1/+7
| | | | Just like the previous commit, we need to set G_TEST_SRCDIR.
* testsuite: cosmeticsMatthias Clasen2017-10-111-1/+1
| | | | | Put all tests in a suite, and order them in a nicer way. This makes the test output look better.
* Reshuffle the css tests a bitMatthias Clasen2017-10-102-5/+3
|
* Install css style tests againMatthias Clasen2017-10-091-0/+46
| | | | Reinstate the installed tests for css style.
* Drop Autotools buildEmmanuele Bassi2017-08-141-80/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* tests: Include system headers appropriatelyChun-wei Fan2017-07-211-0/+4
| | | | | | | 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
* meson: Build gtk marshallersTimm Bäder2017-05-031-1/+0
| | | | And fix libgtk_dep/libgdk_dep to link_with the shared lib
* meson: Add unit test filesTimm Bäder2017-05-031-0/+15
|
* css style tests: Update expected results for gradient testsMatthias Clasen2017-03-311-1/+1
| | | | This is the same as the previous commit.
* build: Don't link against libgtk and libgdkBenjamin Otte2016-11-201-1/+0
| | | | | | 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.
* cssprovider: Return void, not TRUEBenjamin Otte2016-10-171-2/+1
| | | | | Parsing a css file always succeeds as CSS can recover from parsing errors.
* Rename Makefile references from 3.0 to 4.0Matthias Clasen2016-10-071-2/+2
| | | | | This is almost certainly incomplete. Needs careful scrutiny
* Update color name css style testMatthias Clasen2016-05-053-27/+31
| | | | Verify rebeccapurple too.
* label css style test: fix font syntaxMatthias Clasen2016-04-262-6/+2
|
* Remove debug spewMatthias Clasen2016-04-261-4/+0
|
* Expand css style font testsMatthias Clasen2016-04-183-2/+79
| | | | Test more of the syntax of the font: shorthand.
* Fix the css style font testMatthias Clasen2016-04-182-8/+8
| | | | | | | | | 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.
* Fix label css testMatt Watson2016-04-142-1/+2
| | | | | | 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
* add a css style test for font: smallerMatthias Clasen2016-03-244-0/+39
|
* Revert "add a css style test for font: smaller"Matthias Clasen2016-03-244-39/+0
| | | | | | | This reverts commit a4ed154b037aaf03f8c166a711c326a030225eed. The misparsing that is tested here will not be fixed in 3.20, so keep this test out of the stable branch.
* add a css style test for font: smallerMatthias Clasen2016-03-244-0/+39
|
* css tests: Fix style testsMatthias Clasen2016-02-052-2/+2
| | | | | | Commit d0fd7990c3f2c738f86185418ccd76b14da8a776 changed the location of builtin themes, breaking the loading of the empty theme in test-css-style.
* Use TAP output for installed testsMatthias Clasen2016-01-301-1/+2
|
* Add a css style test for color namesMatthias Clasen2016-01-294-0/+605
| | | | | Verify that we support all the css color names, with their expected rgb values.
* Fix another quoting error in installed testsMatthias Clasen2016-01-251-1/+1
| | | | | Same as the previous one. I should fix my silly mistakes before copying them around...
* Add a css style test for adjacent statesMatthias Clasen2016-01-104-5/+75
| | | | | | This test checks that the selector E:state + F works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=722727
* Add a CSS style test for gradientsMatthias Clasen2016-01-044-4/+43
| | | | | This mainly just tests that gradients are properly reproduced by gtk_style_context_to_string.
* Update expected outputMatthias Clasen2016-01-033-0/+3
| | | | | The previous commit changed the format of the output generated by the CSS style tests.
* Update expected output for CSS style testsMatthias Clasen2016-01-034-13/+16
| | | | | The format for CSS values changed slightly in one of the previous commits.
* Use a custom theme for CSS style testsMatthias Clasen2016-01-039-16/+27
| | | | | | Use a custom, empty theme and stop importing reset-to-defaults.css. This avoids overwriting initial values, so our initial value filtering works better.
* Update expected output for node and style testsMatthias Clasen2016-01-034-22/+22
| | | | The previous commit changed the format of the output.
* tests: fix Makefile.am syntaxCosimo Cecchi2016-01-031-1/+1
| | | | It requires a tab character, or the build will fail.
* Forgotten fileMatthias Clasen2016-01-032-1/+7
| | | | | I forgot to add this file to source control when the new tests were initially added.
* Add a css style test for currentColorMatthias Clasen2016-01-034-3/+39
|
* Add a css style test for inherit and initialMatthias Clasen2016-01-034-0/+48
|
* Add a css style test for :first/last/only-childMatthias Clasen2016-01-034-0/+76
|
* Add a css style test for font inheritanceMatthias Clasen2016-01-034-0/+31
|
* Add a test framework for CSS stylesMatthias Clasen2016-01-033-0/+345
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.