diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-11 03:08:40 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-11 03:23:55 +0200 |
commit | 3a72e2fb2483d4dd26eb74319613ffb505d89128 (patch) | |
tree | b02474d3cce58fe8ce72207405eb5d5b3810cb76 /gtk/gtkcssinheritvalueprivate.h | |
parent | f2258cb05cfaf96ba146d1244f4a4e2d8bafc1e8 (diff) | |
download | gtk+-3a72e2fb2483d4dd26eb74319613ffb505d89128.tar.gz |
css: Implement "unset"
Quoting the spec:
If the cascaded value of a property is the unset keyword,
then if it is an inherited property, this is treated as
inherit, and if it is not, this is treated as initial.
Spec in question:
http://dev.w3.org/csswg/css-cascade/
Also use unset in the reset-to-defaults.css we use to reset css in
reftests.
Diffstat (limited to 'gtk/gtkcssinheritvalueprivate.h')
-rw-r--r-- | gtk/gtkcssinheritvalueprivate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssinheritvalueprivate.h b/gtk/gtkcssinheritvalueprivate.h index ae69a6b7cf..6c7fe8a838 100644 --- a/gtk/gtkcssinheritvalueprivate.h +++ b/gtk/gtkcssinheritvalueprivate.h @@ -25,6 +25,7 @@ G_BEGIN_DECLS GtkCssValue * _gtk_css_inherit_value_new (void); +GtkCssValue * _gtk_css_inherit_value_get (void); G_END_DECLS |