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

Test passes if you see green below.

Text

Assertion: A :lang value that matches an identical xml:lang attribute value will produce styling in pages served as XML.

Next test
HTML5

selectors-050
Result summary & related tests