Benjamin Otte
f48b30c13a
reftests: Make label-sizing tests use better CSS
...
ow that labels can have backgrounds, just use label backgrounds
2012-11-04 15:28:42 +01:00
Benjamin Otte
762e2d9322
reftests: Add reftest for fractional border sizes
2012-10-31 11:09:12 +01:00
Benjamin Otte
1e08fe8646
reftests: Fix linear-gradient reftest
...
... and add it to the Makefile
2012-10-31 11:09:12 +01:00
Benjamin Otte
a68e76e058
reftests: Add a reftest for recent commit
...
Check that a computed background-size of 0 is treated as 0.
2012-10-31 11:09:10 +01:00
Cosimo Cecchi
6b3416a2d7
reftests: fix the linear-gradient reftest
...
Don't use a repeating linear gradient, since it can't be easily
reftested against a non-repeating one for the reasons described in the
test header.
Instead, add a separate test for repeating gradients (against another
repeating gradient).
This makes the test pass, so it can be added to the Makefile now.
2012-10-16 13:12:00 -04:00
Benjamin Otte
861a031132
tests: Add test for latest bugfix
2012-10-12 17:45:46 +02:00
Cosimo Cecchi
4f0ac15343
Add a visual test for vertical inline toolbars
2012-10-10 13:43:17 -04:00
Cosimo Cecchi
ed3f5a5db4
tests: fix testtreecolumns not to segfault at startup
...
The class/object definitions have the wrong size, and we're not using
G_DEFINE_TYPE. This fixes the test segfaulting when opening it.
2012-09-27 16:54:40 -04:00
Matthias Clasen
a5ef604ce5
Update expected output of colorchooser a11y test
2012-09-24 18:39:17 -04:00
Matthias Clasen
f8fe097fc0
Update expected output of entries a11y test
2012-09-24 18:38:29 -04: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
Bastien Nocera
634ebb593c
tests: Add accelerator example to testmenubutton
...
https://bugzilla.gnome.org/show_bug.cgi?id=680962
2012-09-12 18:14:50 +01:00
Bastien Nocera
4519fb53fc
tests: Add test for mnemonics in GtkMenuButton
...
To check https://bugzilla.gnome.org/show_bug.cgi?id=680962
2012-09-10 17:39:27 +01:00
Paolo Borelli
afd99d3579
Make spinbutton orientable
...
https://bugzilla.gnome.org/show_bug.cgi?id=683168
2012-09-03 11:45:51 -04:00
Ryan Lortie
0244dc8017
GtkMenuButton: rename _set_menu() to _set_popup()
...
It's too close to the release so we'll keep _set_menu() around, but
deprecate it, pointing to the new API. It will be removed (and the name
reused) before the 3.6.0 release.
https://bugzilla.gnome.org/show_bug.cgi?id=682235
2012-08-20 17:04:14 -04:00
Cosimo Cecchi
a28e1a22a6
visuals: add a visual test for suggested-action buttons
...
And selection-mode toolbars.
2012-08-20 19:25:08 +02:00
Mario Sanchez Prada
45ecba2ea0
Update accessibility unit tests to consider password fields.
...
Updated test/a11y/entries.ui to include a new GtkEntry with
'visibility' set to FALSE, and update expectations.
https://bugzilla.gnome.org/show_bug.cgi?id=681591
2012-08-10 18:09:06 +02:00
Matthias Clasen
5f28b7c114
Update expected dump output for color choooser
2012-08-07 01:17:51 -04:00
Cosimo Cecchi
855088be99
visuals: add a visual demo for GtkLevelBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=677892
2012-07-16 01:01:38 -04:00
Matthias Clasen
7bfcb065df
Test folder filtering
...
Add a filter to testfilechooser that can demonstrate folder
filtering on common directories, such as Documents or Downloads.
2012-07-15 00:41:49 -04:00
Matthias Clasen
67d4b161ea
Revert "visuals: add a visual demo for GtkLevelBar"
...
This reverts commit ffdd7a5e18
.
Pushed by mistake.
2012-07-11 07:15:07 -04:00
Cosimo Cecchi
ffdd7a5e18
visuals: add a visual demo for GtkLevelBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=677892
https://bugzilla.gnome.org/show_bug.cgi?id=679409
2012-07-11 06:55:17 -04:00
Matthias Clasen
88c861d062
a11y tests: update expected results
2012-06-20 22:44:32 -04:00
Bastien Nocera
9fef2dc0d1
gtkmenubutton: Add menu button widget
...
As used in Totem and gnome-contacts. The widget
takes either a GtkMenu or a GMenuModel to construct
its menu, and can be given a parent widget to use to
position the drop-down (as used in GtkMenuToolButton).
https://bugzilla.gnome.org/show_bug.cgi?id=668013
2012-06-15 17:24:42 +01:00
Benjamin Otte
644d16a5f7
reftests: Add a reftest for the empty iconview
2012-06-15 02:48:24 +02:00
Cosimo Cecchi
099dff1085
testscale: add a test for up/leftwards scales
2012-06-12 09:54:33 -04:00
Matthias Clasen
1617344222
testgtk: Work around some property editor problem
...
The property editor fails to show anything for GtkSettings, unless
we tell it to just show GTK_TYPE_SETTINGS. For now, do just that, then.
2012-06-02 08:41:08 -04:00
Matthias Clasen
2baba250b8
Revert "gtkmenubutton: Add menu button widget"
...
This reverts commit 9d35f7e512
.
2012-05-30 14:45:24 -04:00
Bastien Nocera
9d35f7e512
gtkmenubutton: Add menu button widget
...
As used in Totem and gnome-contacts. The widget
takes either a GtkMenu or a GMenuModel to construct
its menu, and can be given a parent widget to use to
position the drop-down (as used in GtkMenuToolButton).
https://bugzilla.gnome.org/show_bug.cgi?id=668013
2012-05-30 13:46:40 -04:00
Cosimo Cecchi
bce34d80d4
reftests: add a reftest for repeating/positioned background patterns
...
This currently fails.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00
Benjamin Otte
3a8cec5f17
reftests: Add a simple reftest for background-position
...
This is mostly to ensure that the background-positioning feature keeps
working and to demonstrate it.
https://bugzilla.gnome.org/show_bug.cgi?id=677109
2012-05-30 12:16:11 -04:00
Matthias Clasen
33d2af0036
fix the build
2012-05-25 23:14:02 -04:00
Cosimo Cecchi
78538fb647
visuals: add a testbed for OSD toolbars
2012-05-25 13:13:58 -04:00
Cosimo Cecchi
ba965b30d2
testscale: add a scale with a fill level to the test
2012-05-16 10:29:31 -04: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
Cosimo Cecchi
0cd6710da0
reftests: add a reftest for multiple background layers
2012-05-15 13:24:40 -04:00
Cosimo Cecchi
1f2d70956c
visuals: add some visuals UI files for h/v linked button boxes
2012-05-11 11:47:00 -04:00
Benjamin Otte
e187cda5e9
tests: Remove unused include
...
Fixes build
2012-05-07 00:16:45 +02:00
Benjamin Otte
2da7a6d803
tests: Make testcellarea use an iconview
2012-05-07 00:12:26 +02:00
Carlos Garcia Campos
a18f018d87
cellrenderertext: Add placeholder-text property
...
It works similar to placeholder text in a GtkEntry, if the cell renderer
is editable and it's empty, the placeholder text is displayed.
https://bugzilla.gnome.org/show_bug.cgi?id=645514
2012-05-03 23:35:34 -04:00
Benjamin Otte
40915d9a34
reftests: Remove unneeded event boxes
...
The event boxes break when backgrounds are transparent.
Fixes border-image-repeat.ui reftest.
2012-05-02 02:00:11 +02:00
Benjamin Otte
d7992d0f4e
reftests: Make reset css include new CSS properties
2012-05-02 02:00:10 +02: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
Paolo Borelli
9af5d89f26
Fix infobar reftest for label background changes
...
Fix the reftest after previous commit
https://bugzilla.gnome.org/show_bug.cgi?id=670743
2012-04-30 21:53:17 +02:00
Cosimo Cecchi
868b28b503
reftests: fix background-size reftest
...
We have to be careful and not set the background on the labels
themselves.
https://bugzilla.gnome.org/show_bug.cgi?id=670743
2012-04-30 13:13:46 -04:00
Matthias Clasen
d44edc1f7d
Revert "WIP: make GtkNotebook window-draggable"
...
This reverts commit b3a66c59ad
.
2012-04-28 02:06:37 -04:00
Diego Escalante Urrelo
b3a66c59ad
WIP: make GtkNotebook window-draggable
...
https://bugzilla.gnome.org/show_bug.cgi?id=672427
https://bugzilla.gnome.org/show_bug.cgi?id=674587
2012-04-28 02:01:16 -04:00
Benjamin Otte
14fb4984ce
tests: Add a parsing test for the transition property
2012-04-17 08:59:24 +02:00
Benjamin Otte
95a4b46f8b
reftests: Fix reftests for recent changes
2012-04-17 08:59:21 +02:00
Benjamin Otte
0048c8baf5
tests: Add a test ensuring currentColor is parsed everywhere
2012-04-17 08:59:20 +02:00
Benjamin Otte
04c5fdaca6
css: Remove old animation code
...
Deprecate public API where appropriate and make it no-ops.
Remove all calls to it.
Get rid of the 'transition' css property.
For now, this means spinners don't animate anymore.
2012-04-17 08:59:19 +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
d115441a57
reftests: Add a reftest for nth-child
...
Prime numbers are fun.
2012-04-17 08:59:08 +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
Alexander Larsson
2697ac5770
testinput: Fix cursor rendering
...
Make sure custom cursors are rendered at integer coordinates,
otherwise there will be leftover alpha borders when we remove the
cursor.
2012-04-03 11:37:41 +02:00
Matthias Clasen
6124d0cfee
Update expected test output
2012-03-26 09:26:46 -04:00
Matthias Clasen
32c7cdd4b1
testgrid: add a testcase
...
Add a testcase for an empty, homogeneous grid.
https://bugzilla.gnome.org/show_bug.cgi?id=672763
2012-03-24 17:19:58 -04:00
Matthias Clasen
909fe12282
testgtk: Show GtkSettings
2012-03-22 00:17:21 -04:00
Matthias Clasen
678000747b
Update expected test results
2012-03-20 11:34:11 -04:00
Matthias Clasen
8c3d77b4e8
Work around a notebook tab rendering bug
...
This avoids assertions from gtk_render_frame_gap.
2012-03-20 11:19:06 -04:00
Benjamin Otte
01650a9fe2
tests: Add missing file
...
Forgot to git add in 5a20c42c7c
2012-03-19 22:27:18 +01:00
Alexander Larsson
65e371c16e
css: Add reftest for background-position
2012-03-17 05:13:22 +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
72a308abee
reftests: Add a test for specificity of @import
2012-03-15 02:55:38 +01:00
Javier Jardón
90e938bf15
Use gdk_event_triggers_context_menu() instead of checking for event->button == 3
2012-03-13 13:10:30 +00:00
Javier Jardón
45f660ef75
Use GDK symbolic names for button numbers
2012-03-13 13:10:30 +00:00
Benjamin Otte
e93a3e7d6d
reftests: Fix css-match-regions tests
...
Make it conform to the current behavior - that is, we allow selectors
for regions multiple times in a row.
2012-03-07 04:50:33 +01:00
Benjamin Otte
c6e25c6326
Grr, complete the test removal removals
2012-03-07 03:30:12 +01:00
Benjamin Otte
e4a5df592b
Revert "Remove broken css-match-region-matches-star reftest"
...
This reverts commit 14d7072224
.
2012-03-07 03:21:37 +01:00
Benjamin Otte
47348237c8
Revert "Remove broken css-match-regions reftest"
...
This reverts commit 7b962c8521
.
2012-03-07 03:17:02 +01:00
Benjamin Otte
4d6a6be897
API: colorchooser: Use GtkOrientation for orientation
...
Unfortunately, this swaps the values from the previous state.
But it's definitely a nicer API.
2012-03-07 03:11:05 +01:00
Benjamin Otte
b83dcc26ad
tests: Fix gcc warning
2012-03-07 02:59:30 +01:00
Cosimo Cecchi
d06cce4b32
reftests: fix misc-alignment reftest
...
Add it back.
2012-03-05 18:37:00 -05:00
Cosimo Cecchi
235cde5282
Revert "Remove broken misc-alignment reftest"
...
This reverts commit 6416385e47
.
2012-03-05 18:36:58 -05:00
Cosimo Cecchi
d169f7711c
reftests: fix label-sizing reftest
...
Add it back fixed.
2012-03-05 18:36:52 -05:00
Cosimo Cecchi
39cef018ab
Revert "Remove broken label-sizing reftest"
...
This reverts commit 168300cb63
.
2012-03-05 18:36:47 -05:00
Cosimo Cecchi
0689810647
reftests: fix quit-mnemonic reftest
...
And add it back
2012-03-05 18:36:26 -05:00
Cosimo Cecchi
3681b99383
Revert "Remove broken quit-mnemonic reftest"
...
This reverts commit 563eff4dfb
.
2012-03-05 18:36:13 -05:00
Matthias Clasen
43b2dba7a8
Grr, complete the test removals
2012-03-05 17:12:16 -05:00
Matthias Clasen
cfd60f47c9
Update expected result for the infobar a11y dump
2012-03-05 15:55:01 -05:00
Matthias Clasen
7b962c8521
Remove broken css-match-regions reftest
2012-03-05 15:51:24 -05:00
Matthias Clasen
563eff4dfb
Remove broken quit-mnemonic reftest
2012-03-05 15:37:49 -05:00
Matthias Clasen
6416385e47
Remove broken misc-alignment reftest
2012-03-05 15:36:50 -05:00
Matthias Clasen
168300cb63
Remove broken label-sizing reftest
2012-03-05 15:35:35 -05:00
Matthias Clasen
14d7072224
Remove broken css-match-region-matches-star reftest
2012-03-05 15:34:46 -05:00
Christian Persch
5a8dba7eac
colorchooser: Allow removing the palettes again
...
https://bugzilla.gnome.org/show_bug.cgi?id=671057
2012-03-04 00:29:04 -05:00
Benjamin Otte
c922967155
reftests: Add a rendering test for sibling matching
2012-03-02 02:17:10 +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
John Ralls
63b0149b84
Bug 655065 Build failure on OS X 10.7 Lion
...
Remove LDDADS and setting each object file's LDDAD to it; just set a global LDDAD.
2012-03-01 16:26:38 -08:00
Carlos Garcia Campos
1a26b9a90a
tests: Add new test for kinetic scrolling
2012-03-01 16:25:22 -05:00