[ttml2] [construct anonymous span] rule 3 (#1139)

palemieux has just created a new issue for https://github.com/w3c/ttml2:

== [construct anonymous span] rule 3 ==
_[construct anonymous span](3)_ specifies:

_for each span element whose child is a single anonymous span, replace the anonymous span with its sequence of child text nodes_

This means that `<span><anonymous_span></anonymous_span></span>` becomes `<span><text_node/></span>`.

However, _[construct anonymous span](1)_ specifies:

_for each significant text node in a content element, synthesize an anonymous span to enclose the text node, substituting the new anonymous span for the original text node child in its sibling and parent hierarchy_ 

This means that `<span><text_node/></span>` becomes `<span><anonymous_span></anonymous_span></span>`.

Doesn't this yield an infinite loop? Perhaps _[construct anonymous span](3)_ was intended to apply to nested anonymous span, but when is a nested anonymous span ever created in the first place?

Please view or discuss this issue at https://github.com/w3c/ttml2/issues/1139 using your GitHub account

Received on Wednesday, 14 August 2019 04:27:26 UTC