| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
No actual tests yet.
|
|
|
|
|
|
|
|
| |
Add a gtk_style_context_to_string function that can serialize
a CSS node or tree of nodes, optionally including CSS properties
as well.
This will be useful in writing tests.
|
| |
|
|
|
|
|
|
| |
Previously, the ID was only set on the CSS node as a side-effect
of calling gtk_widget_get_style_context. This was showing up
in CSS style tests as nodes lacking their IDs.
|
| |
|
|
|
|
| |
This was confusing me momentarily, so add an explicit annotation.
|
| |
|
|
|
|
|
|
|
|
|
| |
The code handles the possibility of pixbuf being NULL, but
after b411c318321fd4de556926119cbc6e3ba14f073a we must be
prepared for surface already being NULL. Pointed out by
Albert Muktupāvels,
https://bugzilla.gnome.org/show_bug.cgi?id=759917
|
|
|
|
|
| |
Without this, the check node starts out without the :dir(ltr)
state, at least.
|
|
|
|
|
| |
This was used with regions in GtkTreeView, and is not used
anymore, so deprecate it.
|
|
|
|
| |
The outline-radius properties all got a -gtk prefix.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Putting the deprecated class behind the official variant does
not work for the case of :focus and :focused - we were matching
:focus and leave a dangling 'ed'. So, put the deprecated classes
before the official variant, and explicitly mark them as deprecated.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
These come back to bite us when the inspector is no longer around
at the end of the program.
https://bugzilla.gnome.org/show_bug.cgi?id=759768
|
|
|
|
|
|
| |
Since commit bffeae6203ffe5ea91988d4439571568abc95ab7, the
tree path is not used for anything useful anymore, so do away
with it entirely.
|
| |
|
|
|
|
|
| |
Was introduced as part of b79a187d47ee5c45952fab60c141fcaed7e05ef6.
Results in memory leaks (and GDI objects leaks on W32).
|
| |
|
|
|
|
| |
And fix the compiler warning
|
|
|
|
|
|
|
|
|
| |
Split the CSS docs off from the GtkCssProvider docs and
give them their own chapter. Among other things, this commit
introduces more or less complete definitions of the syntax for
the supported selectors, a complete list of all supported
properties, and definitions for their values. This includes
documentation for GTK+-specific properties such as -gtk-icon-source.
|
|
|
|
|
| |
This was only introduced a few weeks ago. We don't need to keep
this around, now that we support the proper CSS syntax.
|
| |
|
|
|
|
|
| |
Emit a deprecation error in the cases where we have
a CSS name for a custom pseudo class.
|
|
|
|
|
|
|
| |
I hadn't noticed the :drop() pseudo state in the CSS4 Selectors
spec when I added this a while ago. This commit renames
GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds
:drop(active) as equivalent to the :dnd pseudo state.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759857
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
We don't actually do anything when the label is not selectable
except for consuming the event, which breaks for instance titlebar
drags with labels that contain links. Simply deny the gesture in
that case to allow the event to bubble up normally.
https://bugzilla.gnome.org/show_bug.cgi?id=759798
|
|
|
|
|
|
| |
... on older Visual Studio versions, where isinf() is not available, and
copy the isinf() implementation from gdk/fallback-c89.c to
gtk/fallback-c89.c.
|
| |
|
|
|
|
|
|
| |
gdk_widget_get_frame_clock can return NULL. In particular,
this can happen when the drag window is destroyed at the end
of a DND operation. Handle this gracefully when it happens.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This adds tests for transition-property, transition-delay
and transition-timing-function.
|
| |
|