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

Add note from TTML1 regarding padding and writingMode (#358). #601

Merged
merged 2 commits into from
Feb 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions spec/ttml2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11036,6 +11036,13 @@ before edge, the second applies to the start and end edges, and the third applie
to the after edge.
If four <loc href="#style-value-length">&lt;length&gt;</loc> specifications are provided, then they apply to before, end,
after, and start edges, respectively.</p>
<note role="clarification">
<p>Percentage values are relative to the dimension of the region to which they apply. For example, if the before and after edges correspond
to the top and bottom edges of the region, as is the case for Latin text where <att>tts:writingMode</att> is equal to <code>"lrtb"</code>,
then percentage values that apply to either of the two edges are relative to the height of the region. Conversely, if the before and after
edges correspond to the right and left edges of the region, as is the case for Japanese text where <att>tts:writingMode</att> is equal to
<code>"tbrl"</code>, then percentage values that apply to either of the two edges are relative to the width of the region.</p>
</note>
<p>The <loc href="#style-value-length">&lt;length&gt;</loc> value(s) used to express padding must be non-negative.</p>
<p>If padding is applied to a <loc href="#content-vocabulary-span"><el>span</el></loc> element, and content from that element
is divided across multiple line areas, then the specified padding must be applied at each line break boundary. In contrast,
Expand Down