Closed simontsang closed 9 months ago
As far as I know, white-space-collapse="true"
means collapsing sequences of white spaces into one white space and not removing all white spaces.
Agree with @palemieux - it's "3. a misunderstanding of the spec by the Shaka team": with xml:space="default"
runs of one or more "white space" characters are collapsed down to 1 space (0x20) character not zero.
That's great - thanks for the clarification.
Thanks!
Could you confirm that the rendering of Span004 is as expected?
Section 7.2.3 of the TTML 1.0 specification states that for
xml:space="default"
, white-space should be treated asThere's a discussion over at the Shaka Player repo (https://github.com/shaka-project/shaka-player/issues/4974) about how this should be rendered – specifically whether the white-space surrounding the
span
tags should be collapsed or not. The interpretation from the Shaka Player team is that this space should be collapsed, and so should render this text asmustredandgreen
. This is at odds with the example provided in the render which reads asmust red and green
I would very much appreciate if you could confirm whether this is...
Thanks!