summaryrefslogtreecommitdiff
path: root/gtk/gtkcssinheritvalueprivate.h
Commit message (Collapse)AuthorAgeFilesLines
* css: Implement "unset"Benjamin Otte2014-05-111-0/+1
| | | | | | | | | | | | | 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.
* css: Move computing of initial and inherit valuesBenjamin Otte2012-08-281-2/+0
| | | | | ... to the compute vfunc. Simplifies code quite a bit. But makes the code no longer a simple step-by-step implementation of the spec.
* styleproperty: Make _gtk_style_property_parse_value() return a CssValueBenjamin Otte2012-04-171-0/+33
Also split out initial/inherit handling into a custom GtkCssValue class.