This is an outstanding error in libcroco which is still there in upstream 0.6.8, I've patched our version of the code in revision 12887 to do a case-insensitive match on the lang pseudo-class.
I'm attaching my test file which contains three text elements. The first 'Lower case' is green, the second is 'Jap' is a false-positive indicator while the bottom 'Upper case' is the false-negative reported here and is red before the patch and green after it.
This is an outstanding error in libcroco which is still there in upstream 0.6.8, I've patched our version of the code in revision 12887 to do a case-insensitive match on the lang pseudo-class.
I'm attaching my test file which contains three text elements. The first 'Lower case' is green, the second is 'Jap' is a false-positive indicator while the bottom 'Upper case' is the false-negative reported here and is red before the patch and green after it.