Closed palemieux closed 3 years ago
At the moment, it looks to me, unless I've misunderstood, that the PR does not match the requested changes from the issues it is intended to close. I look forward to discussing.
Yes, the PR attempts to find a middle ground to address the concerns with changing the semantics of tts:direction
on p
to influence the IPD.
The Timed Text Working Group just discussed Remove applicability of tts:direction on <p> w3c/ttml2#1214
, and agreed to the following:
SUMMARY: Continue reviewing
Following our discussion I found one example in our catalog that uses dir on p:
<p begin="10844167t" end="29195834t" region="bottom" tts:direction="rtl" tts:unicodeBidi="embed" xml:id="ID_57d7c57f-ef91-42fd-8f32-0d1f237b5131">
<span style="span">- תוכן מקורי של NETFLIX -</span>
</p>
the region is defined as
<region tts:backgroundColor="transparent" tts:displayAlign="after" tts:extent="80.000% 80.000%" tts:origin="10.000% 10.000%" tts:textAlign="center" xml:id="bottom"/>
writing-mode is not used at all in the document
<p begin="10844167t" end="29195834t" region="bottom" tts:direction="rtl" tts:unicodeBidi="embed" xml:id="ID_57d7c57f-ef91-42fd-8f32-0d1f237b5131">
@cconcolato What is the expected rendering?
Re: https://github.com/w3c/ttml2/pull/1214#issue-519627186, please note that the abbreviation ipd does not mean inline progression direction in TTML, it means inline progression dimension; therefore, to avoid confusion, it is best to spell out inline progression direction.
@cconcolato Re: https://github.com/w3c/ttml2/pull/1214#issuecomment-726243664, I would expect the rendering to be such that the region is left-right, top-to-bottom, containing a horizontally center aligned paragraph that has its content effectively wrapped in a RLE/PDF Unicode Bidirectional Controls pair, which content consists of the text
- תוכן מקורי של NETFLIX -
The Bidi reordered text should appear as follows, and translates as "Original Content of NETFLIX".
- NETFLIX תוכן מקורי של -
The Timed Text Working Group just discussed remove applicability of direction on p
, and agreed to the following:
SUMMARY: Pull Request is closed without merging due to lack of consensus
Closes #1211 Closes #1213 Closes #1212
The paragraph embedding level is determined by the
ipd
, instead of being determined bytts:direction
as applied top
. This is compatible with CSS since, in CSS,direction
sets the paragraph embedding level and the combination ofdirection
andwriting-mode
maps totts:writingMode
.The effect of
tts:unicodeBidi
onp
is clarified to match CSS.