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
Duplication of text regarding property on anonymous spans. #533
Comments
@cconcolato a point in favour of the current text is that it implies that a style attribute that applies to a Edit: the following comment no longer applies thanks to @palemieux pointing me to the relevant spec text:
|
See the following clause at Section 7.1.5: If a sequence of children of a p element consists solely of character information items, then that sequence must be considered to be an anonymous span for the purpose of applying style properties that apply to span elements. I interpret this as meaning that, unless specified otherwise, individual character children are not wrapped in individual anonymous spans. |
Thanks @palemieux I hadn't spotted that. I'll edit my comment. |
@palemieux Thanks for the pointer to that sentence. I would then question why we have all those repeated sentences in each property. Note that you quoted TTML1 but the same text exists in TTML2 in section 8.1.5. Note also that the algorithm in 11.3.1.4 Synchronic Flow Processing already specifies the creation of anonymous spans. My recommendations would be:
|
The following sentence is repeated 31 times in TTML2:
IIUC, it is meant to cover the case where a property is applicable on spans but the content has no span. I find it very confusing (it was already in TTML1) because:
I would propose to have either:
The text was updated successfully, but these errors were encountered: