--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+Test the node_is_lang() select handler via the CSS :lang()
+pseudo-selector. The result should be a red square because
+because we select the blue lang="en" one and hide it.
+-->
+<svg width="640"
+ height="480"
+ viewBox="0 0 640 480"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:svg="http://www.w3.org/2000/svg">
+
+ <style>
+ rect:lang(en) {
+ fill-opacity: 0;
+ }
+ </style>
+
+ <rect x="0"
+ y="0"
+ width="640"
+ height="480"
+ fill="red" />
+
+ <rect x="0"
+ y="0"
+ width="640"
+ height="480"
+ fill="blue"
+ lang="en" />
+
+</svg>