Skip to content
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

Should tts:direction apply only to <span>? #227

Closed
palemieux opened this issue Jan 10, 2017 · 6 comments
Closed

Should tts:direction apply only to <span>? #227

palemieux opened this issue Jan 10, 2017 · 6 comments

Comments

@palemieux
Copy link
Contributor

TTML1 specifies that tts:direction follows the semantics of XSL Section 7.29.1, which states that:

The "writing-mode" property establishes both the block-progression-direction and the inline-progression-direction. The "direction" property only changes the inline-progression-direction and is used primarily for formatting objects that generate inline-areas that are not also reference areas. Use of the "direction" property for other formatting objects is deprecated in this specification.

So shouldn't tts:direction only apply to span (which generates inline-areas) and not to p (which generates block-areas)?

@skynavga
Copy link
Contributor

skynavga commented Jan 10, 2017 via email

@andreastai
Copy link

As tts:direction is inheritable...does it make any difference if is applied to p? Each character/anonymous span descendant of a p would have the inherited value of tts:direction`.

@skynavga
Copy link
Contributor

skynavga commented Jan 10, 2017 via email

@skynavga
Copy link
Contributor

Need clarification of meaning of 'ltr' and 'rtl' on tts:direction in the context of writing mode.

@nigelmegitt
Copy link
Contributor

[Meeting 2017-01-12] Decided that tts:direction applies to p, but that it would be useful to open a new editorial issue to add a comment on how to compute direction in vertical writing modes (added as #228).

@dae-kim
Copy link

dae-kim commented Jan 12, 2017

See http://unicode.org/reports/tr9/#Vertical_Text:

"In the case of vertical line orientation, the Bidirectional Algorithm is still used to determine the levels of the text. However, these levels are not used to reorder the text, because the characters are usually ordered uniformly from top to bottom. Instead, the levels are used to determine the rotation of the text."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants