Skip to content

Latest commit

 

History

History
executable file
·
34 lines (29 loc) · 2.57 KB

text-inheriting-language.md

File metadata and controls

executable file
·
34 lines (29 loc) · 2.57 KB
title key unambiguous objective input_aspects
Text Inheriting its Programmatic Language from an Element
text-inheriting-language
true
true
DOM tree
Accessibility tree
CSS Styling

The text inheriting its programmatic language from an element E is composed of all the following texts:

An element F is an element inheriting its programmatic language from an element E if at least one of the following conditions is true (recursively):

  • F is E itself (an element always inherits its programmatic language from itself); or
  • F does not have a non-empty lang attribute, and is the child in the flat tree of an element inheriting its programmatic language from E; or
  • F is a fully active document element, has no non-empty lang attribute, and its browsing context container is an element inheriting its programmatic language from E.