New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify meaning of significant text node. #1105
Comments
Today the term "significant text node" is used 4 times. 3 times in the context of the [construct anonymous spans] procedure. The other occurence is in https://www.w3.org/TR/ttml2/#isd-vocabulary-region. I think only this one needs to be clarified: either the [construct anonymous spans] procedure applies and it should be linked or another term should be used. For the other uses, I'm not sure anything is necessary. Maybe it should be clear that if the term is used in the future it should be in the context of the [construct anonymous procedure]. |
@cconcolato no editorial change is strictly necessary; however, some of them may be useful for understanding; I, for one, have an operational understanding of "significant text node" already, since I am the one who wrote this phrase as such, and I meant "a text node that is not ignored" in some context of use; however, others (such as you), have pointed out that we don't define what "significant" means when applied to "text node": I agree that I didn't define the meaning, and, since you raised the question in the first place, I propose to define it in order to reduce or eliminate guessing on the part of the reader; |
@cconcolato I should also remind that we have two ways of defining terms: (1) by adding a definition of the term in §2.2 (I consider these heavy-weight definitions) and (2) by defining the term inline in the prose in the place of its first use by using |
@cconcolato Do you interpret for each significant text node in a content element as meaning for each significant child text node in a content element or for each significant descendant text node in a content element? |
I'm interested in hearing @cconcolato 's answer, but my current thinking is that significant text node in a content element is (without further clarification) ambiguous with regard to whether one is referring to only child text nodes of that element or to child text nodes and child text nodes of descendant elements of that element. I think my intended meaning was the former and not the latter; however, the presence of anonymous spans complicates matters, in which case it depends on whether one is talking about the state of the document tree before or after anonymous span construction. |
@palemieux for the
In this case (and for the In the construct anonymous procedure, I think it is meant to cover only child text nodes. I assume the procedure is called on child elements so it would take care of descendants but I could not find the text. Anyway, the fact that the For ruby containers, if the procedure would use 'child', it should be fine too. Btw, I noted the following:
Is it saying something more than what the construct anonymous procedure says? |
It turned out to be more complicated to define significant text node than I had thought. I ended up with a heavy-weight definition for it, but light-weight definitions for text node, element node, and data character. |
Define significant text node, text node, and element node (#1105).
No description provided.
The text was updated successfully, but these errors were encountered: