=== modified file 'src/libcroco/cr-sel-eng.c'
--- src/libcroco/cr-sel-eng.c	2013-11-03 10:43:56 +0000
+++ src/libcroco/cr-sel-eng.c	2014-01-08 16:01:45 +0000
@@ -150,9 +150,7 @@
         for (; node; node = get_next_parent_element_node (node_iface, node)) {
                 char *val = node_iface->getProp (node, "lang");
                 if (val) {
-                        if (!strqcmp (val,
-                                      a_sel->content.pseudo->extra->stryng->str,
-                                      a_sel->content.pseudo->extra->stryng->len)) {
+                        if (!g_ascii_strcasecmp(val, a_sel->content.pseudo->extra->stryng->str)) {
                                 result = TRUE;
                                 break;
                         }

