html lang and meta elements
This test failed because it relies on :lang for results, but :lang is not supported by this browser.
If there is a conflict between the language declared using lang in the html element and that in the meta element, the UA will recognize the language declared in the html element.
This test uses :lang to detect whether the language has been set. If :lang is not supported, a message will appear and the test will fail.
Spec text: «To determine the language of a node, user agents must look at the nearest ancestor element (including the element itself if the node is an element) that ... has a lang in no namespace attribute set. That attribute specifies the language of the node (regardless of its value). ... If neither the node nor any of the node's ancestors, including the root element, have either attribute set, but there is a pragma-set default language set, then that is the language of the node.»