:lang(es), lang="es" (xml)

Test passes if you see green below.

Text

Assertion: [Exploratory test] A :lang value that matches an identical lang attribute value will produce styling in a page served as XML.

Next test
HTML5

selectors-001a
Result summary & related tests