:lang(es), lang="es"

Test passes if you see green below.

Text

Assertion: A :lang value that matches an identical lang attribute value will produce styling.

Next test
HTML5

selectors-001
Result summary & related tests