Matthias Clasen
c30d542a17
Some more CSS node tests for notebooks
2016-02-15 14:20:48 -05:00
Benjamin Otte
d3e8cf87aa
testsuite: Don't use deprecated APIs
2016-02-13 06:41:29 +01: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
Benjamin Otte
f9c2982ddc
testsuite: No warnings on type conversions please
...
long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that.
2016-02-11 03:44:47 +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
Matthias Clasen
4d40bd4474
Fix stylecontext tests
...
This was broken by f7ec9c98ef
,
since type names are no longer used at all in CSS matching.
2016-02-06 09:59:48 +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
3446760060
reftests: Make separator-size test pass in HighContrastInverse
...
After neutralizing the stack background, the notebook itself
was peeking through.
2016-01-31 16:54:48 -05:00
Matthias Clasen
6e2c74aaad
Trivial formatting fix
2016-01-31 14:11:01 -05:00
Matthias Clasen
1e0ca71eca
reftests: Make label-text-shadow-changes-modify-clip test more reliable
...
This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the rui on the fly if we find that animations
are disabled.
2016-01-31 14:11:01 -05:00
Matthias Clasen
2423eb11e3
reftests: Add a message to the test output
...
Emit a message that ends up in the test output if we are modifying
the test on the fly.
2016-01-31 14:11:01 -05:00
Matthias Clasen
a898dc6e9f
reftests: Rename a source file
...
Easier to keep track of things if the sources are names after
the test they are used in.
2016-01-31 14:11:01 -05:00
Matthias Clasen
5a2feab8c0
reftests: Make animation-direction test more reliable
...
This test was failing in continuous, where the tests are running
in a VM with disabled animations. Make the test adapt to that
situation by changing the reference ui on the fly if we find
that animations are disabled.
2016-01-31 13:51:54 -05:00
Matthias Clasen
a66287a62e
Fix the border-image-excess-size reftest
...
This was failing because the grid is now respecting border
width too. Making the selector more specific so it only
applies to the toolbars fixes this.
2016-01-30 21:50:00 -05:00
Matthias Clasen
27b4bfc1cf
Fix another reftest
...
Make sure the notebook in the separator-size reftest does not
peek through, by giving it a transparent background.
2016-01-30 21:43:49 -05:00
Matthias Clasen
bbfc547b89
Fix some reftests under wayland
...
Tests need to use popup windows, in order to avoid differences
due to CSD.
2016-01-30 21:11:12 -05:00
Matthias Clasen
d400ecca14
Remove entry-progress-coloring reftest
...
We don't recolor text over progress anymore, so this
tests a no longer existing feature.
2016-01-30 11:32:06 -05:00
Matthias Clasen
586522d83c
Use TAP output for installed tests
2016-01-30 11:04:22 -05:00
Matthias Clasen
f375b275c8
Run reftests with HighContrastInverse too
...
For installed tests, we run the reftests with all the builtin
themes (minus platform-specific ones). Add HighContrastInverse
to that list.
2016-01-30 10:10:39 -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
8219a6b226
Use an GtkImage instead of GtkArrow
...
GtkArrow is deprecated, and the recommended replacement
is GtkImage.
2016-01-29 13:21:01 -05:00
Matthias Clasen
866193f6af
reftests: get icon-vfuncs test almost working again
...
The remaining difference here is GtkArrow, which is deprecated
and has not been updated to the latest CSS rendering standards.
2016-01-29 13:10:03 -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
d5d6a050c5
Update expected output of a11y tests
...
This is the outcome of a recent fix to default values
for a GtkPaned property.
2016-01-25 16:01:07 -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
e3b49b2d6c
Update expected output of a11y tests
...
This reflects my recent change to messagedialog titles.
2016-01-19 09:19:31 -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
Benjamin Otte
f6757e0c0c
reftests: Fix up for easy CSS changes
...
This is mostly search and replace ala
GtkButton => button
GtkWindow => window
.button => button
or removing style properties that aren't used anymore like
-GtkButton-default-border: 0
2016-01-18 05:05:35 +01:00
Benjamin Otte
b7f32ed451
reftests: Remove test
...
We no longer match subtypes, so remove the test for it.
2016-01-18 05:05:35 +01: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
1eaf035a78
reftests: Drop deprecated style properties
2016-01-08 18:11:07 -05:00
Matthias Clasen
fe35836168
Update expect output of a11y tests
2016-01-08 18:11:07 -05:00
Matthias Clasen
e84f1ae3bb
Update the list of required cursors
...
We're now using standard cursor names for DND, so check for these.
2016-01-08 18:11:07 -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