htmlelement has a
langwith the value "en" (English) and an
xml:langattribute with the value "de" (German).
langattribute for primary language of content in German
This test case is intended to fail because for the primary natural language of the content is not correctly defined: the language information is contradictory. However, tests could show that some user agents ignore one of the language indications in favour of the other, and end up with the correct value. Only the primary language is tested, not language changes inside the content.
Can you determine the language of the text?
The browser may not be able to find the primary language of the document.
html element has
xml:lang attributes with contradictory values. Only the primary language is tested here, not language changes inside the content.