summaryrefslogtreecommitdiff
path: root/gtk/gtkcssparser.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-02-04 19:37:44 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-04 19:37:44 +0100
commit0e7691c12ec2249b80e6f7d46f5e8f2aeecf345a (patch)
tree7323bf5a9b530768ed698d601976ed00cacf7ae4 /gtk/gtkcssparser.c
parentf7ec9c98ef0ef8740c93f96af9d971b0211118c1 (diff)
downloadgtk+-0e7691c12ec2249b80e6f7d46f5e8f2aeecf345a.tar.gz
css: Add rem unit
Good luck, Lapo.
Diffstat (limited to 'gtk/gtkcssparser.c')
-rw-r--r--gtk/gtkcssparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkcssparser.c b/gtk/gtkcssparser.c
index 13d81e1792..2c52fb2144 100644
--- a/gtk/gtkcssparser.c
+++ b/gtk/gtkcssparser.c
@@ -617,6 +617,7 @@ _gtk_css_number_value_parse (GtkCssParser *parser,
{ "pt", GTK_CSS_PT, GTK_CSS_PARSE_LENGTH },
{ "em", GTK_CSS_EM, GTK_CSS_PARSE_LENGTH },
{ "ex", GTK_CSS_EX, GTK_CSS_PARSE_LENGTH },
+ { "rem", GTK_CSS_REM, GTK_CSS_PARSE_LENGTH },
{ "pc", GTK_CSS_PC, GTK_CSS_PARSE_LENGTH },
{ "in", GTK_CSS_IN, GTK_CSS_PARSE_LENGTH },
{ "cm", GTK_CSS_CM, GTK_CSS_PARSE_LENGTH },