HTTP header

 

This test failed because it relies on :lang for results, but :lang is not supported by this browser.

The browser will recognize a language declared in the HTTP header, when there is no internal language declaration.

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: «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. If there is no pragma-set default language set, then language information from a higher-level protocol (such as HTTP), if any, must be used as the final fallback language instead.»

Next test
HTML5

the-lang-attribute-003
Result summary & related tests
Detailed results for this test
Link to spec

Dependencies: