pragma-set default

 

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 a meta element in the head using http-equiv='Content-Language' content='..' (with a single language tag value), when there is no other language declaration inside the document.

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.»

Next test
HTML5

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

Dependencies: