Rendered on a Line

An element is considered rendered on a line if it has a computed display value of inline and its closest ancestor in the flat tree with computed display of block contains text nodes that are not descendants in the flat tree of this element.