--- a/ttml-ww-profiles/ttml-ww-profiles.html Mon Nov 03 10:46:23 2014 +0800
+++ b/ttml-ww-profiles/ttml-ww-profiles.html Wed Nov 05 16:01:42 2014 -0800
@@ -20,6 +20,10 @@
border-bottom-style: double;
border-bottom-color: #d3d3d3;
padding: 4px; margin: 0em }
+
+ .note {font-size:small}
+
+ .example {font-size: small}
</style>
<style>/*****************************************************************
* ReSpec 3 CSS
@@ -219,7 +223,7 @@
</p>
<h1 class="title p-name" id="title" property="dcterms:title">TTML Text and Image Profiles for Internet Media Subtitles and Captions 1.0</h1>
- <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-10-21T20:13:34.000Z" id="w3c-editor-s-draft-21-october-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-10-21">21 October 2014</time></h2>
+ <h2 property="dcterms:issued" datatype="xsd:dateTime" content="2014-11-06T00:01:00.000Z" id="w3c-editor-s-draft-05-november-2014"><abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published" datetime="2014-11-05">05 November 2014</time></h2>
<dl>
<dt>This version:</dt>
@@ -277,9 +281,9 @@
<p>This document specifies two profiles of [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]: a text-only profile and an image-only profile. These profiles are
intended to be used across subtitle and caption delivery applications worldwide, thereby simplifying interoperability,
consistent rendering and conversion to other subtitling and captioning formats. The text profile is a superset of
- [<cite><a class="bibref" href="#bib-SDPUS">SDPUS</a></cite>].</p>
-
- <p>The document defines extensions to [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>], as well as incorporates extensions specified in [<cite><a class="bibref" href="#bib-ST2052-1">ST2052-1</a></cite>] and
+ [<cite><a class="bibref" href="#bib-ttml10-sdp-us">ttml10-sdp-us</a></cite>].</p>
+
+ <p>The document defines extensions to [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], as well as incorporates extensions specified in [<cite><a class="bibref" href="#bib-ST2052-1">ST2052-1</a></cite>] and
[<cite><a class="bibref" href="#bib-EBU-TT-D">EBU-TT-D</a></cite>].</p>
<p>Both profiles are based on [<cite><a class="bibref" href="#bib-SUBM">SUBM</a></cite>].</p>
@@ -352,36 +356,49 @@
-</section><section id="toc"><h2 class="introductory" role="heading" id="h2_toc">Table of Contents</h2><ul class="toc" role="directory" id="respecContents"><li class="tocline"><a href="#scope" class="tocxref"><span class="secno">1. </span>Scope</a></li><li class="tocline"><a href="#terms" class="tocxref"><span class="secno">2. </span>Terms and Definitions</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">3. </span>Conformance</a></li><li class="tocline"><a href="#profiles" class="tocxref"><span class="secno">4. </span>Profiles</a><ul class="toc"><li class="tocline"><a href="#general" class="tocxref"><span class="secno">4.1 </span>General</a></li><li class="tocline"><a href="#text-profile" class="tocxref"><span class="secno">4.2 </span>Text Profile</a></li><li class="tocline"><a href="#image-profile" class="tocxref"><span class="secno">4.3 </span>Image Profile</a></li></ul></li><li class="tocline"><a href="#common-constraints" class="tocxref"><span class="secno">5. </span>Common Constraints</a><ul class="toc"><li class="tocline"><a href="#document-encoding" class="tocxref"><span class="secno">5.1 </span>Document Encoding</a></li><li class="tocline"><a href="#foreign-element-and-attributes" class="tocxref"><span class="secno">5.2 </span>Foreign Element and Attributes</a></li><li class="tocline"><a href="#namespaces" class="tocxref"><span class="secno">5.3 </span>Namespaces</a></li><li class="tocline"><a href="#overflow" class="tocxref"><span class="secno">5.4 </span>Overflow</a></li><li class="tocline"><a href="#related-video-object" class="tocxref"><span class="secno">5.5 </span>Related Video Object</a></li><li class="tocline"><a href="#synchronization" class="tocxref"><span class="secno">5.6 </span>Synchronization</a></li><li class="tocline"><a href="#extensions" class="tocxref"><span class="secno">5.7 </span>Extensions</a><ul class="toc"><li class="tocline"><a href="#ttp-aspectRatio" class="tocxref"><span class="secno">5.7.1 </span>ittp:aspectRatio</a></li><li class="tocline"><a href="#ttp-progressivelyDecodable" class="tocxref"><span class="secno">5.7.2 </span>ittp:progressivelyDecodable</a></li><li class="tocline"><a href="#tts-forcedDisplay" class="tocxref"><span class="secno">5.7.3 </span>itts:forcedDisplay</a></li><li class="tocline"><a href="#ttm-altText" class="tocxref"><span class="secno">5.7.4 </span>ittm:altText</a></li></ul></li><li class="tocline"><a href="#region" class="tocxref"><span class="secno">5.8 </span>Region</a><ul class="toc"><li class="tocline"><a href="#presented-region" class="tocxref"><span class="secno">5.8.1 </span>Presented Region</a></li><li class="tocline"><a href="#dimensions-and-position" class="tocxref"><span class="secno">5.8.2 </span>Dimensions and Position</a></li><li class="tocline"><a href="#maximum-number" class="tocxref"><span class="secno">5.8.3 </span>Maximum number</a></li></ul></li><li class="tocline"><a href="#hypothetical-render-model-1" class="tocxref"><span class="secno">5.9 </span>Hypothetical Render Model</a></li><li class="tocline"><a href="#common-features" class="tocxref"><span class="secno">5.10 </span>Features</a></li></ul></li><li class="tocline"><a href="#text-profile-constraints" class="tocxref"><span class="secno">6. </span>Text Profile Constraints</a><ul class="toc"><li class="tocline"><a href="#text-profile-designator" class="tocxref"><span class="secno">6.1 </span>Profile Designator</a></li><li class="tocline"><a href="#recommended-character-sets" class="tocxref"><span class="secno">6.2 </span>Recommended Character Sets</a></li><li class="tocline"><a href="#features" class="tocxref"><span class="secno">6.3 </span>Features</a></li></ul></li><li class="tocline"><a href="#image-profile-constraints" class="tocxref"><span class="secno">7. </span>Image Profile Constraints</a><ul class="toc"><li class="tocline"><a href="#image-profile-designator" class="tocxref"><span class="secno">7.1 </span>Profile Designator</a></li><li class="tocline"><a href="#presented-image" class="tocxref"><span class="secno">7.2 </span>Presented Image</a><ul class="toc"><li class="tocline"><a href="#definition" class="tocxref"><span class="secno">7.2.1 </span>Definition</a></li><li class="tocline"><a href="#number-per-region" class="tocxref"><span class="secno">7.2.2 </span>Number per Region</a></li></ul></li><li class="tocline"><a href="#div-element" class="tocxref"><span class="secno">7.3 </span><code>div</code> element</a></li><li class="tocline"><a href="#features-1" class="tocxref"><span class="secno">7.4 </span>Features</a></li></ul></li><li class="tocline"><a href="#hypothetical-render-model" class="tocxref"><span class="secno">8. </span>Hypothetical Render Model</a><ul class="toc"><li class="tocline"><a href="#performance-model" class="tocxref"><span class="secno">8.1 </span>Performance Model</a><ul class="toc"><li class="tocline"><a href="#overview" class="tocxref"><span class="secno">8.1.1 </span>Overview</a></li><li class="tocline"><a href="#general-1" class="tocxref"><span class="secno">8.1.2 </span>General</a></li><li class="tocline"><a href="#paint-regions" class="tocxref"><span class="secno">8.1.3 </span>Paint Regions</a></li><li class="tocline"><a href="#paint-images" class="tocxref"><span class="secno">8.1.4 </span>Paint Images</a></li><li class="tocline"><a href="#paint-text" class="tocxref"><span class="secno">8.1.5 </span>Paint Text</a></li></ul></li><li class="tocline"><a href="#reference-fonts" class="tocxref"><span class="secno">8.2 </span>Reference Fonts</a></li></ul></li><li class="tocline"><a href="#recommended-unicode-code-points-per-language" class="tocxref"><span class="secno">A. </span>Recommended Character Sets</a></li><li class="tocline"><a href="#forced-content" class="tocxref"><span class="secno">B. </span>Forced content (non-normative)</a></li><li class="tocline"><a href="#wcag-applications" class="tocxref"><span class="secno">C. </span>WCAG Considerations</a></li><li class="tocline"><a href="#features-and-extensions" class="tocxref"><span class="secno">D. </span>Extensions</a><ul class="toc"><li class="tocline"><a href="#general-2" class="tocxref"><span class="secno">D.1 </span>General</a></li><li class="tocline"><a href="#progressivelydecodable" class="tocxref"><span class="secno">D.2 </span>#progressivelyDecodable</a></li><li class="tocline"><a href="#aspectratio" class="tocxref"><span class="secno">D.3 </span>#aspectRatio</a></li><li class="tocline"><a href="#forceddisplay" class="tocxref"><span class="secno">D.4 </span>#forcedDisplay</a></li><li class="tocline"><a href="#alttext" class="tocxref"><span class="secno">D.5 </span>#altText</a></li><li class="tocline"><a href="#linepadding" class="tocxref"><span class="secno">D.6 </span>#linePadding</a></li><li class="tocline"><a href="#multirowalign" class="tocxref"><span class="secno">D.7 </span>#multiRowAlign</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">E. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">E.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">E.2 </span>Informative references</a></li></ul></li></ul></section>
+</section><section id="toc"><h2 class="introductory" role="heading" id="h2_toc">Table of Contents</h2><ul class="toc" role="directory" id="respecContents"><li class="tocline"><a href="#scope" class="tocxref"><span class="secno">1. </span>Scope</a></li><li class="tocline"><a href="#conventions" class="tocxref"><span class="secno">2. </span>Documentation Conventions</a></li><li class="tocline"><a href="#terms" class="tocxref"><span class="secno">3. </span>Terms and Definitions</a></li><li class="tocline"><a href="#conformance" class="tocxref"><span class="secno">4. </span>Conformance</a></li><li class="tocline"><a href="#profiles" class="tocxref"><span class="secno">5. </span>Profiles</a><ul class="toc"><li class="tocline"><a href="#general" class="tocxref"><span class="secno">5.1 </span>General</a></li><li class="tocline"><a href="#text-profile" class="tocxref"><span class="secno">5.2 </span>Text Profile</a></li><li class="tocline"><a href="#image-profile" class="tocxref"><span class="secno">5.3 </span>Image Profile</a></li></ul></li><li class="tocline"><a href="#common-constraints" class="tocxref"><span class="secno">6. </span>Common Constraints</a><ul class="toc"><li class="tocline"><a href="#document-encoding" class="tocxref"><span class="secno">6.1 </span>Document Encoding</a></li><li class="tocline"><a href="#foreign-element-and-attributes" class="tocxref"><span class="secno">6.2 </span>Foreign Element and Attributes</a></li><li class="tocline"><a href="#namespaces" class="tocxref"><span class="secno">6.3 </span>Namespaces</a></li><li class="tocline"><a href="#overflow" class="tocxref"><span class="secno">6.4 </span>Overflow</a></li><li class="tocline"><a href="#related-video-object" class="tocxref"><span class="secno">6.5 </span>Related Video Object</a></li><li class="tocline"><a href="#synchronization" class="tocxref"><span class="secno">6.6 </span>Synchronization</a></li><li class="tocline"><a href="#extensions" class="tocxref"><span class="secno">6.7 </span>Extensions</a><ul class="toc"><li class="tocline"><a href="#ttp-aspectRatio" class="tocxref"><span class="secno">6.7.1 </span>ittp:aspectRatio</a></li><li class="tocline"><a href="#ttp-progressivelyDecodable" class="tocxref"><span class="secno">6.7.2 </span>ittp:progressivelyDecodable</a></li><li class="tocline"><a href="#tts-forcedDisplay" class="tocxref"><span class="secno">6.7.3 </span>itts:forcedDisplay</a></li><li class="tocline"><a href="#ttm-altText" class="tocxref"><span class="secno">6.7.4 </span>ittm:altText</a></li></ul></li><li class="tocline"><a href="#region" class="tocxref"><span class="secno">6.8 </span>Region</a><ul class="toc"><li class="tocline"><a href="#presented-region" class="tocxref"><span class="secno">6.8.1 </span>Presented Region</a></li><li class="tocline"><a href="#dimensions-and-position" class="tocxref"><span class="secno">6.8.2 </span>Dimensions and Position</a></li><li class="tocline"><a href="#maximum-number" class="tocxref"><span class="secno">6.8.3 </span>Maximum number</a></li></ul></li><li class="tocline"><a href="#hypothetical-render-model-1" class="tocxref"><span class="secno">6.9 </span>Hypothetical Render Model</a></li><li class="tocline"><a href="#common-features" class="tocxref"><span class="secno">6.10 </span>Features</a></li></ul></li><li class="tocline"><a href="#text-profile-constraints" class="tocxref"><span class="secno">7. </span>Text Profile Constraints</a><ul class="toc"><li class="tocline"><a href="#text-profile-designator" class="tocxref"><span class="secno">7.1 </span>Profile Designator</a></li><li class="tocline"><a href="#recommended-character-sets" class="tocxref"><span class="secno">7.2 </span>Recommended Character Sets</a></li><li class="tocline"><a href="#reference-fonts-1" class="tocxref"><span class="secno">7.3 </span>Reference Fonts</a></li><li class="tocline"><a href="#features" class="tocxref"><span class="secno">7.4 </span>Features</a></li></ul></li><li class="tocline"><a href="#image-profile-constraints" class="tocxref"><span class="secno">8. </span>Image Profile Constraints</a><ul class="toc"><li class="tocline"><a href="#image-profile-designator" class="tocxref"><span class="secno">8.1 </span>Profile Designator</a></li><li class="tocline"><a href="#presented-image" class="tocxref"><span class="secno">8.2 </span>Presented Image</a><ul class="toc"><li class="tocline"><a href="#definition" class="tocxref"><span class="secno">8.2.1 </span>Definition</a></li><li class="tocline"><a href="#number-per-region" class="tocxref"><span class="secno">8.2.2 </span>Number per Region</a></li></ul></li><li class="tocline"><a href="#div-element" class="tocxref"><span class="secno">8.3 </span><code>div</code> element</a></li><li class="tocline"><a href="#features-1" class="tocxref"><span class="secno">8.4 </span>Features</a></li></ul></li><li class="tocline"><a href="#hypothetical-render-model" class="tocxref"><span class="secno">9. </span>Hypothetical Render Model</a><ul class="toc"><li class="tocline"><a href="#overview" class="tocxref"><span class="secno">9.1 </span>Overview</a></li><li class="tocline"><a href="#general-1" class="tocxref"><span class="secno">9.2 </span>General</a></li><li class="tocline"><a href="#paint-regions" class="tocxref"><span class="secno">9.3 </span>Paint Regions</a></li><li class="tocline"><a href="#paint-images" class="tocxref"><span class="secno">9.4 </span>Paint Images</a></li><li class="tocline"><a href="#paint-text" class="tocxref"><span class="secno">9.5 </span>Paint Text</a></li></ul></li><li class="tocline"><a href="#reference-fonts" class="tocxref"><span class="secno">A. </span>Reference Fonts</a></li><li class="tocline"><a href="#recommended-unicode-code-points-per-language" class="tocxref"><span class="secno">B. </span>Recommended Character Sets</a></li><li class="tocline"><a href="#forced-content" class="tocxref"><span class="secno">C. </span>Forced content (non-normative)</a></li><li class="tocline"><a href="#wcag-applications" class="tocxref"><span class="secno">D. </span>WCAG Considerations</a></li><li class="tocline"><a href="#sample-instance" class="tocxref"><span class="secno">E. </span>Sample Document Instance (non-normative)</a></li><li class="tocline"><a href="#features-and-extensions" class="tocxref"><span class="secno">F. </span>Extensions</a><ul class="toc"><li class="tocline"><a href="#general-2" class="tocxref"><span class="secno">F.1 </span>General</a></li><li class="tocline"><a href="#progressivelydecodable" class="tocxref"><span class="secno">F.2 </span>#progressivelyDecodable</a></li><li class="tocline"><a href="#aspectratio" class="tocxref"><span class="secno">F.3 </span>#aspectRatio</a></li><li class="tocline"><a href="#forceddisplay" class="tocxref"><span class="secno">F.4 </span>#forcedDisplay</a></li><li class="tocline"><a href="#alttext" class="tocxref"><span class="secno">F.5 </span>#altText</a></li><li class="tocline"><a href="#linepadding" class="tocxref"><span class="secno">F.6 </span>#linePadding</a></li><li class="tocline"><a href="#multirowalign" class="tocxref"><span class="secno">F.7 </span>#multiRowAlign</a></li></ul></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">G. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">G.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">G.2 </span>Informative references</a></li></ul></li></ul></section>
<section id="scope" typeof="bibo:Chapter" resource="#scope" rel="bibo:Chapter">
<!--OddPage--><h2 role="heading" id="h2_scope"><span class="secno">1. </span>Scope</h2>
- <p>This document specifies two profiles of [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]: a text-only profile and an image-only profile. These profiles are
+ <p>This document specifies two profiles of [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>]: a text-only profile and an image-only profile. These profiles are
intended for subtitle and caption delivery worldwide, including dialog language translation, content description, captions for
deaf and hard of hearing, etc.</p>
- <p>The text-only profile is a strict superset of [<cite><a class="bibref" href="#bib-SDPUS">SDPUS</a></cite>].</p>
-
- <p>The document defines extensions to [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>], as well as incorporates extensions specified in [<cite><a class="bibref" href="#bib-ST2052-1">ST2052-1</a></cite>] and
+ <p>The text-only profile is a strict superset of [<cite><a class="bibref" href="#bib-ttml10-sdp-us">ttml10-sdp-us</a></cite>].</p>
+
+ <p>The document defines extensions to [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], as well as incorporates extensions specified in [<cite><a class="bibref" href="#bib-ST2052-1">ST2052-1</a></cite>] and
[<cite><a class="bibref" href="#bib-EBU-TT-D">EBU-TT-D</a></cite>].</p>
</section>
+
+ <section id="conventions" typeof="bibo:Chapter" resource="#conventions" rel="bibo:Chapter">
+ <!--OddPage--><h2 role="heading" id="h2_conventions"><span class="secno">2. </span>Documentation Conventions</h2>
+
+ <p>This specification uses the same convention as [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>] for the specification of parameter attributes, styling attributes and metadata elements.</p>
+
+ <p>All content of this specification that is not explicitly marked as non-normative is considered to be normative. If a section or appendix header contains the expression "non-normative", then the entirety of the section or appendix is considered non-normative.</p>
+ </section>
<section id="terms" typeof="bibo:Chapter" resource="#terms" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_terms"><span class="secno">2. </span>Terms and Definitions</h2>
-
- <p><dfn id="dfn-presentation-processor">Presentation processor</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>].</p>
-
- <p><dfn id="dfn-transformation-processor">Transformation processor</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>].</p>
-
- <p><dfn id="dfn-intermediate-synchronic-document">Intermediate synchronic document</dfn>. See Section 9.3.2 at [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>].</p>
-
- <p><dfn id="dfn-related-media-object">Related Media Object</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>].</p>
+ <!--OddPage--><h2 role="heading" id="h2_terms"><span class="secno">3. </span>Terms and Definitions</h2>
+
+ <p><dfn id="dfn-default-region">Default Region</dfn>. See Section 9.3.1 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
+ <p><dfn id="dfn-document-instance">Document Instance</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
+ <p><dfn id="dfn-intermediate-synchronic-document">Intermediate synchronic document</dfn>. See Section 9.3.2 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
+ <p><dfn id="dfn-presentation-processor">Presentation processor</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
+ <p><dfn id="dfn-transformation-processor">Transformation processor</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
+ <p><dfn id="dfn-related-media-object">Related Media Object</dfn>. See Section 2.2 at [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>].</p>
+
</section>
- <section id="conformance" typeof="bibo:Chapter" resource="#conformance" rel="bibo:Chapter"><!--OddPage--><h2 role="heading" id="h2_conformance"><span class="secno">3. </span>Conformance</h2>
+ <section id="conformance" typeof="bibo:Chapter" resource="#conformance" rel="bibo:Chapter"><!--OddPage--><h2 role="heading" id="h2_conformance"><span class="secno">4. </span>Conformance</h2>
<p>
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples,
and notes in this specification are non-normative. Everything else in this specification is
@@ -391,92 +408,91 @@
to be interpreted as described in [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].
</p>
- <p>A subtitle document that conforms to a profile defined herein <em class="rfc2119" title="SHALL">SHALL</em> satisfy all normative provisions specified by the
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> that conforms to a profile defined herein <em class="rfc2119" title="SHALL">SHALL</em> satisfy all normative provisions specified by the
profile.</p>
<p>A <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> that conforms to a profile defined in this specification <em class="rfc2119" title="SHALL">SHALL</em>:</p>
<ul>
- <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>];</li>
+ <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>];</li>
<li>satisfy all normative provisions specified by the profile; and</li>
- <li>be capable of presenting any subtitle document that conforms to the profile, i.e. if it implements all features and
+ <li>be capable of presenting any <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> that conforms to the profile, i.e. if it implements all features and
provisions of the profile.</li>
</ul>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> that conforms to a profile defined in this specification <em class="rfc2119" title="SHALL">SHALL</em>:</p>
<ul>
- <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>];</li>
+ <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>];</li>
<li>satisfy all normative provisions specified by the profile; and</li>
- <li>be capable of transforming any subtitle document that conforms to the profile, i.e. if it implements all features and
+ <li>be capable of transforming any <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> that conforms to the profile, i.e. if it implements all features and
provisions of the profile.</li>
</ul>
<div class="note"><div class="note-title" aria-level="1" role="heading" id="h_note_1"><span>Note</span></div><p class="">The use of the term <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> (<a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a>) within this specification
- does not imply conformance to the DFXP Presentation Profile (DFXP Transformation Profile) specified in [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]. In other
+ does not imply conformance to the DFXP Presentation Profile (DFXP Transformation Profile) specified in [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>]. In other
words, it is not considered an error for a <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> (<a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a>) to conform to a
profile defined in this specification without also conforming to the DFXP Presentation Profile (DFXP Transformation
Profile).</p></div>
</section>
<section id="profiles" typeof="bibo:Chapter" resource="#profiles" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_profiles"><span class="secno">4. </span>Profiles</h2>
+ <!--OddPage--><h2 role="heading" id="h2_profiles"><span class="secno">5. </span>Profiles</h2>
<section id="general">
- <h3 role="heading" id="h3_general"><span class="secno">4.1 </span>General</h3>
-
- <p>A subtitle document <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> conform to the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> and <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> simultaneously.</p>
+ <h3 role="heading" id="h3_general"><span class="secno">5.1 </span>General</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> conform to the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> and <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> simultaneously.</p>
<p>In applications that require subtitle/caption content in image form to be simultaneously available in text form, two
- distinct subtitle documents, one conforming to the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> and the other conforming to the <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>,
- <em class="rfc2119" title="SHOULD">SHOULD</em> be offered. In addition, the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> subtitle document <em class="rfc2119" title="SHOULD">SHOULD</em> be associated with the <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>
- subtitle document such that, when image content is encountered, assistive technologies have access to its corresponding text
- form.</p>
-
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_2"><span>Note</span></div><p class="">The <code>ittm:altText</code> element specified <a href="#ttm-altText" class="sec-ref"><span class="secno">5.7.4</span> <span class="sec-title">ittm:altText</span></a> also allows text equivalent
+ distinct <a title="Document Instance" href="#dfn-document-instance" class="internalDFN">Document Instances</a>, one conforming to the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> and the other conforming to the <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>,
+ <em class="rfc2119" title="SHOULD">SHOULD</em> be offered. In addition, the <a href="#dfn-text-profile" class="internalDFN">Text Profile</a> <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHOULD">SHOULD</em> be associated with the <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>
+ <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> such that, when image content is encountered, assistive technologies have access to its corresponding text
+ form. The method by which this association is made is left to each application.</p>
+
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_2"><span>Note</span></div><p class="">The <code>ittm:altText</code> element specified <a href="#ttm-altText" class="sec-ref"><span class="secno">6.7.4</span> <span class="sec-title">ittm:altText</span></a> also allows text equivalent
string to be associated with an image, e.g. to support indexation of the content and also facilitate quality checking of the
document during authoring.</p></div>
- <p>Annex <a href="#wcag-applications" class="sec-ref"><span class="secno">C.</span> <span class="sec-title">WCAG Considerations</span></a> specifically discusses this specification in the context of the [<cite><a class="bibref" href="#bib-WCAG20">WCAG20</a></cite>]
+ <p>Annex <a href="#wcag-applications" class="sec-ref"><span class="secno">D.</span> <span class="sec-title">WCAG Considerations</span></a> specifically discusses this specification in the context of the [<cite><a class="bibref" href="#bib-WCAG20">WCAG20</a></cite>]
guidelines.</p>
</section>
<section id="text-profile">
- <h3 role="heading" id="h3_text-profile"><span class="secno">4.2 </span>Text Profile</h3>
-
- <p>The <dfn id="dfn-text-profile">Text Profile</dfn> consists of Sections <a href="#common-constraints" class="sec-ref"><span class="secno">5.</span> <span class="sec-title">Common Constraints</span></a> and <a href="#text-profile-constraints" class="sec-ref"><span class="secno">6.</span> <span class="sec-title">Text Profile Constraints</span></a>.</p>
+ <h3 role="heading" id="h3_text-profile"><span class="secno">5.2 </span>Text Profile</h3>
+
+ <p>The <dfn id="dfn-text-profile">Text Profile</dfn> consists of Sections <a href="#common-constraints" class="sec-ref"><span class="secno">6.</span> <span class="sec-title">Common Constraints</span></a> and <a href="#text-profile-constraints" class="sec-ref"><span class="secno">7.</span> <span class="sec-title">Text Profile Constraints</span></a>.</p>
</section>
<section id="image-profile">
- <h3 role="heading" id="h3_image-profile"><span class="secno">4.3 </span>Image Profile</h3>
-
- <p>The <dfn id="dfn-image-profile">Image Profile</dfn> consists of Sections <a href="#common-constraints" class="sec-ref"><span class="secno">5.</span> <span class="sec-title">Common Constraints</span></a> and <a href="#image-profile-constraints" class="sec-ref"><span class="secno">7.</span> <span class="sec-title">Image Profile Constraints</span></a>.</p>
+ <h3 role="heading" id="h3_image-profile"><span class="secno">5.3 </span>Image Profile</h3>
+
+ <p>The <dfn id="dfn-image-profile">Image Profile</dfn> consists of Sections <a href="#common-constraints" class="sec-ref"><span class="secno">6.</span> <span class="sec-title">Common Constraints</span></a> and <a href="#image-profile-constraints" class="sec-ref"><span class="secno">8.</span> <span class="sec-title">Image Profile Constraints</span></a>.</p>
</section>
</section>
<section id="common-constraints" typeof="bibo:Chapter" resource="#common-constraints" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_common-constraints"><span class="secno">5. </span>Common Constraints</h2>
+ <!--OddPage--><h2 role="heading" id="h2_common-constraints"><span class="secno">6. </span>Common Constraints</h2>
<section id="document-encoding">
- <h3 role="heading" id="h3_document-encoding"><span class="secno">5.1 </span>Document Encoding</h3>
-
- <p>A subtitle document <em class="rfc2119" title="SHALL">SHALL</em> use UTF-8 character encoding as specified in [<cite><a class="bibref" href="#bib-UNICODE">UNICODE</a></cite>].</p>
+ <h3 role="heading" id="h3_document-encoding"><span class="secno">6.1 </span>Document Encoding</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> use UTF-8 character encoding as specified in [<cite><a class="bibref" href="#bib-UNICODE">UNICODE</a></cite>].</p>
</section>
<section id="foreign-element-and-attributes">
- <h3 role="heading" id="h3_foreign-element-and-attributes"><span class="secno">5.2 </span>Foreign Element and Attributes</h3>
-
- <p>A subtitle document <em class="rfc2119" title="MAY">MAY</em> contain elements and attributes that are neither specifically permitted nor forbidden by a
- profile. Such elements and attributes <em class="rfc2119" title="MAY">MAY</em> be ignored by the <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> or <a href="#dfn-transformation-processor" class="internalDFN">transformation
- processor</a>.</p>
+ <h3 role="heading" id="h3_foreign-element-and-attributes"><span class="secno">6.2 </span>Foreign Element and Attributes</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="MAY">MAY</em> contain elements and attributes that are neither specifically permitted nor forbidden by a
+ profile..</p>
</section>
<section id="namespaces">
- <h3 role="heading" id="h3_namespaces"><span class="secno">5.3 </span>Namespaces</h3>
+ <h3 role="heading" id="h3_namespaces"><span class="secno">6.3 </span>Namespaces</h3>
<p>The following namespaces (see [<cite><a class="bibref" href="#bib-xml-names">xml-names</a></cite>]) are used in this specification:</p>
@@ -511,7 +527,7 @@
<td>http://www.w3.org/ns/ttml#parameter</td>
- <td>[<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]</td>
+ <td>[<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>]</td>
</tr>
<tr>
@@ -521,7 +537,7 @@
<td>http://www.w3.org/ns/ttml#styling</td>
- <td>[<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]</td>
+ <td>[<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>]</td>
</tr>
<tr>
@@ -531,7 +547,7 @@
<td>http://www.w3.org/ns/ttml/feature/</td>
- <td>[<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>]</td>
+ <td>[<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>]</td>
</tr>
<tr>
@@ -616,35 +632,37 @@
</tbody>
</table>
- <p>The namespace prefix values defined above are for convenience and document instances may use any prefix value that
+ <p>The namespace prefix values defined above are for convenience and document instances <em class="rfc2119" title="MAY">MAY</em> use any prefix value that
conforms to [<cite><a class="bibref" href="#bib-xml-names">xml-names</a></cite>].</p>
+
+ <p>The namespaces defined by this specification are mutable [<cite><a class="bibref" href="#bib-namespaceState">namespaceState</a></cite>]; all undefined names in these namespaces are reserved for future standardization by the <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
</section>
<section id="overflow">
- <h3 role="heading" id="h3_overflow"><span class="secno">5.4 </span>Overflow</h3>
-
- <p>Subtitle documents should be authored assuming strict clipping of content that falls out of region areas, regardless of
+ <h3 role="heading" id="h3_overflow"><span class="secno">6.4 </span>Overflow</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHOULD">SHOULD</em> be authored assuming strict clipping of content that falls out of region areas, regardless of
the computed value of <code>tts:overflow</code> for the region.</p>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_3"><span>Note</span></div><p class="">As specified in [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>], <code>tts:overflow</code> has no effect on the extent of the region, and hence
- the total normalized drawing area S(En) at <a href="#paint-regions" class="sec-ref"><span class="secno">8.1.3</span> <span class="sec-title">Paint Regions</span></a>.</p></div>
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_3"><span>Note</span></div><p class="">As specified in [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], <code>tts:overflow</code> has no effect on the extent of the region, and hence
+ the total normalized drawing area S(En) at <a href="#paint-regions" class="sec-ref"><span class="secno">9.3</span> <span class="sec-title">Paint Regions</span></a>.</p></div>
</section>
<section id="related-video-object">
- <h3 role="heading" id="h3_related-video-object"><span class="secno">5.5 </span>Related Video Object</h3>
-
- <p>A subtitle document <em class="rfc2119" title="MAY">MAY</em> be associated with a related video object, which <em class="rfc2119" title="SHALL">SHALL</em> consist of a sequence of image frames, each
+ <h3 role="heading" id="h3_related-video-object"><span class="secno">6.5 </span>Related Video Object</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="MAY">MAY</em> be associated with a related video object, which <em class="rfc2119" title="SHALL">SHALL</em> consist of a sequence of image frames, each
a rectangular array of pixels, and <em class="rfc2119" title="SHALL">SHALL</em> be considered the <a href="#dfn-related-media-object" class="internalDFN">Related Media Object</a>.</p>
</section>
<section id="synchronization">
- <h3 role="heading" id="h3_synchronization"><span class="secno">5.6 </span>Synchronization</h3>
-
- <p>Each <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> of the subtitle document is intended to be displayed on a specific frame and
+ <h3 role="heading" id="h3_synchronization"><span class="secno">6.6 </span>Synchronization</h3>
+
+ <p>Each <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> of the <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> is intended to be displayed on a specific frame and
removed on a specific frame of the related video object.</p>
<p>When mapping a media time expression M to a frame F of a related video object, e.g. for the purpose of rendering a
- subtitle document onto the related video object, the <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> <em class="rfc2119" title="SHALL">SHALL</em> map M to the frame F with the
+ <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> onto the related video object, the <a href="#dfn-presentation-processor" class="internalDFN">presentation processor</a> <em class="rfc2119" title="SHALL">SHALL</em> map M to the frame F with the
presentation time that is the closest to, but not less, than M.</p>
<aside class="example"><div class="example-title"><span>Example 1</span></div>
@@ -652,7 +670,7 @@
object with a frame rate of 1000 / 1001 × 30 ≈ 29.97.
</aside>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_4"><span>Note</span></div><p class="">In typical scenario, the same video program (the related video object) will be used for subtitle document
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_4"><span>Note</span></div><p class="">In typical scenario, the same video program (the related video object) will be used for <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>
authoring, delivery and user playback. The mapping from media time expression to related video object above allows the author
to precisely associate subtitle video content with video frames, e.g. around scene transitions. In circumstances where the
video program is downsampled during delivery, the application can specify that, at playback, the relative video object be
@@ -663,15 +681,15 @@
<code>ttp:frameRateMultiplier</code> <em class="rfc2119" title="SHALL">SHALL</em> be the frame rate of the related video object.</p>
<div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_5"><span>Note</span></div><p class="">A document can be made independent of the frame rate of the related video object by never using the
- <em>frames</em> term in a time expression: as specified in <a href="#common-features" class="sec-ref"><span class="secno">5.10</span> <span class="sec-title">Features</span></a>, <code>ttp:frameRate</code> is
+ <em>frames</em> term in a time expression: as specified in <a href="#common-features" class="sec-ref"><span class="secno">6.10</span> <span class="sec-title">Features</span></a>, <code>ttp:frameRate</code> is
required only if the document includes one or more time expressions that uses the <em>frames</em> term.</p></div>
</section>
<section id="extensions">
- <h3 role="heading" id="h3_extensions"><span class="secno">5.7 </span>Extensions</h3>
+ <h3 role="heading" id="h3_extensions"><span class="secno">6.7 </span>Extensions</h3>
<section id="ttp-aspectRatio" typeof="bibo:Chapter" resource="#ttp-aspectRatio" rel="bibo:Chapter">
- <h4 role="heading" id="h4_ttp-aspectRatio"><span class="secno">5.7.1 </span>ittp:aspectRatio</h4>
+ <h4 role="heading" id="h4_ttp-aspectRatio"><span class="secno">6.7.1 </span>ittp:aspectRatio</h4>
<p>The <code>ittp:aspectRatio</code> attributes allows authorial control of the mapping of the root container of a subtitle
document to the related video object frame.</p>
@@ -695,7 +713,7 @@
</tbody>
</table>
- <p>The root container of a subtitle document <em class="rfc2119" title="SHALL">SHALL</em> be mapped to the related video object frame according to the
+ <p>The root container of a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> be mapped to the related video object frame according to the
following:</p>
<ol>
@@ -716,7 +734,7 @@
</li>
<li>
- <p>Otherwise, the root container of a subtitle document <em class="rfc2119" title="SHALL">SHALL</em> be mapped to the related video object frame in its
+ <p>Otherwise, the root container of a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> be mapped to the related video object frame in its
entirety. If <code>tts:extent</code> is present on the <code>tt</code> element, the extents of the root container <em class="rfc2119" title="SHALL">SHALL</em>
be equal to the dimensions of the related video object frame.</p>
</li>
@@ -726,8 +744,19 @@
<p>An <code>ittp:aspectRatio</code> attribute is considered to be significant only when specified on the <code>tt</code>
element.</p>
-
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_6"><span>Note</span></div><p class="">As specified in Section <a href="#common-features" class="sec-ref"><span class="secno">5.10</span> <span class="sec-title">Features</span></a>, <code>tts:extent</code> is present if the
+
+<div class="example"><div class="example-title"><span>Example 2</span></div><pre class="example"><tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:aspectRatio="4 3"
+ >
+ ...
+</tt></pre></div>
+
+ <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_6"><span>Note</span></div><p class="">As specified in Section <a href="#common-features" class="sec-ref"><span class="secno">6.10</span> <span class="sec-title">Features</span></a>, <code>tts:extent</code> is present if the
<code>px</code> length measure is used anywhere within the document.</p></div>
<p>Integer pixel positions on the related video object frame computed from real percentage length values <em class="rfc2119" title="SHALL">SHALL</em> use half-up
@@ -735,18 +764,18 @@
</section>
<section id="ttp-progressivelyDecodable" typeof="bibo:Chapter" resource="#ttp-progressivelyDecodable" rel="bibo:Chapter">
- <h4 role="heading" id="h4_ttp-progressivelyDecodable"><span class="secno">5.7.2 </span>ittp:progressivelyDecodable</h4>
-
- <p>A <a href="#dfn-progressively-decodable-subtitle-document" class="internalDFN">progressively decodable subtitle document</a> is structured to facilitate presentation before the document is
+ <h4 role="heading" id="h4_ttp-progressivelyDecodable"><span class="secno">6.7.2 </span>ittp:progressivelyDecodable</h4>
+
+ <p>A <a href="#dfn-progressively-decodable-document-instance" class="internalDFN">progressively decodable Document Instance</a> is structured to facilitate presentation before the document is
received in its entirety, and can be identified using <code>ittp:progressivelyDecodable</code> attribute.</p>
- <p>A <dfn id="dfn-progressively-decodable-subtitle-document">progressively decodable subtitle document</dfn> is a subtitle document that conforms to the following:</p>
+ <p>A <dfn id="dfn-progressively-decodable-document-instance">progressively decodable Document Instance</dfn> is a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> that conforms to the following:</p>
<ol>
<li>no attribute or element of the TTML timing vocabulary is present within the <code>head</code> element;</li>
<li>given two <a title="intermediate synchronic document" href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic documents</a> <em>A</em> and <em>B</em>
- of the subtitle document, with start times <em>TA</em> and <em>TB</em>, respectively, <em>TA</em> is not greater than
+ of the <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>, with start times <em>TA</em> and <em>TB</em>, respectively, <em>TA</em> is not greater than
<em>TB</em> if <em>A</em> includes a <code>p</code> element that occurs earlier in the document than any <code>p</code>
element that <em>B</em> includes;
</li>
@@ -779,15 +808,26 @@
<p>If not specified, the value of <code>ittp:progressivelyDecodable</code> <em class="rfc2119" title="SHALL">SHALL</em> be considered to be equal to "false".</p>
- <p>A subtitle document for which the computed value of <code>ittp:progressivelyDecodable</code> is "true" <em class="rfc2119" title="SHALL">SHALL</em> be a
- <a href="#dfn-progressively-decodable-subtitle-document" class="internalDFN">progressively decodable subtitle document</a>.</p>
-
- <p>A subtitle document for which the computed value of <code>ittp:progressivelyDecodable</code> is "false" is neither
- asserted to be a <a href="#dfn-progressively-decodable-subtitle-document" class="internalDFN">progressively decodable subtitle document</a> nor asserted not to be a progressively decodable subtitle
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> for which the computed value of <code>ittp:progressivelyDecodable</code> is "true" <em class="rfc2119" title="SHALL">SHALL</em> be a
+ <a href="#dfn-progressively-decodable-document-instance" class="internalDFN">progressively decodable Document Instance</a>.</p>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> for which the computed value of <code>ittp:progressivelyDecodable</code> is "false" is neither
+ asserted to be a <a href="#dfn-progressively-decodable-document-instance" class="internalDFN">progressively decodable Document Instance</a> nor asserted not to be a progressively decodable subtitle
document.</p>
+
+ <div class="example"><div class="example-title"><span>Example 3</span></div><pre class="example"><tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:progressivelyDecodable="true"
+ >
+ ...
+</tt></pre></div>
<div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_7"><span>Note</span></div><div class="">
- <p>[<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>] specifies explicitly referencing of elements identified using <code>xml:id</code> in the following
+ <p>[<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>] specifies explicitly referencing of elements identified using <code>xml:id</code> in the following
circumstances:</p>
<ul>
@@ -813,14 +853,14 @@
</section>
<section id="tts-forcedDisplay" typeof="bibo:Chapter" resource="#tts-forcedDisplay" rel="bibo:Chapter">
- <h4 role="heading" id="h4_tts-forcedDisplay"><span class="secno">5.7.3 </span>itts:forcedDisplay</h4>
+ <h4 role="heading" id="h4_tts-forcedDisplay"><span class="secno">6.7.3 </span>itts:forcedDisplay</h4>
<p><code>itts:forcedDisplay</code> allows the processor to override the computed value of <code>tts:visibility</code>
attribute in conjunction with an application parameter <code>displayForcedOnlyMode</code>.</p>
<p>If the value of <code>displayForcedOnlyMode</code> is "true", a content element with a <code>itts:forcedDisplay</code>
computed value of "false" <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> produce any visible rendering, but still affect layout, regardless of the computed
- value of <code>tts:visibility</code>.</p>
+ value of <code>tts:visibility</code>. All other combinations of <code>displayForcedOnlyMode</code> and <code>itts:forcedDisplay</code> values have no impact on presentation.</p>
<p>The <code>itts:forcedDisplay</code> attribute shall conform to the following:</p>
@@ -869,7 +909,7 @@
</tbody>
</table>
- <p>Annex <a href="#forced-content" class="sec-ref"><span class="secno">B.</span> <span class="sec-title">Forced content (non-normative)</span></a> illustrates the use of <code>itts:forcedDisplay</code> in an application in which a
+ <p>Annex <a href="#forced-content" class="sec-ref"><span class="secno">C.</span> <span class="sec-title">Forced content (non-normative)</span></a> illustrates the use of <code>itts:forcedDisplay</code> in an application in which a
single document contains both hard of hearing captions and translated foreign language subtitles, using
<code>itts:forcedDisplay</code> to display translation subtitles always, independently of whether the hard of hearing
captions are displayed or hidden.</p>
@@ -879,12 +919,28 @@
<code>displayForcedOnlyMode</code> <em class="rfc2119" title="SHALL">SHALL</em> be assumed to be equal to "false".</p>
<p>The algorithm for setting the <code>displayForcedOnlyMode</code> parameter based on the circumstances under which the
- subtitle document is presented is left to the application.</p>
-
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_8"><span>Note</span></div><p class="">The background of a region is drawn even if the computed value of <code>tts:visibility</code> equals
- "hidden" for all active content within. This can occur if <code>itts:forcedDisplay</code> equals "false" for all active
- content elements within a region for which <code>itts:forcedDisplay</code> equals "true", and
- <code>displayForcedOnlyMode</code> equals "true". Authors can avoid this situation, for instance, by ensuring that content
+ <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> is presented is left to the application.</p>
+
+ <div class="example"><div class="example-title"><span>Example 4</span></div><pre class="example">...
+<head>
+ ...
+ <region xml:id="r1" tts:color="white" itts:forcedDisplay="true" tts:backgroundColor="black"/>
+ <region xml:id="r2" tts:color="white" tts:backgroundColor="black"/>
+ ...
+</head>
+...
+<div>
+ <p region="r1" begin="1s" end="6s">Lycée</p>
+
+ <!-- the following will not appear only if displayForcedOnlyMode='true' -->
+ <p region="r2" begin="4s" end="6s">Nous étions inscrits au même lycée.</p>
+</div>
+...</pre></div>
+
+
+ <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_8"><span>Note</span></div><p class="">As specified in [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], the background of a region can be visible even if the computed value of <code>tts:visibility</code> equals
+ "hidden" for all active content within. The background of a region for which <code>itts:forcedDisplay</code> equals "true" can therefore remain visible even if <code>itts:forcedDisplay</code> equals "false" for all active
+ content elements within the region and <code>displayForcedOnlyMode</code> equals "true". Authors can avoid this situation, for instance, by ensuring that content
elements and the regions that they are flowed into always have the same value of <code>itts:forcedDisplay</code>.</p></div>
<div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_9"><span>Note</span></div><p class="">Although <code>itts:forcedDisplay</code>, like all the TTML style attributes, has no defined semantics on a
@@ -897,7 +953,7 @@
</section>
<section id="ttm-altText" typeof="bibo:Chapter" resource="#ttm-altText" rel="bibo:Chapter">
- <h4 role="heading" id="h4_ttm-altText"><span class="secno">5.7.4 </span>ittm:altText</h4>
+ <h4 role="heading" id="h4_ttm-altText"><span class="secno">6.7.4 </span>ittm:altText</h4>
<p><code>ittm:altText</code> allows an author to provide a text string equivalent for an element, typically an image. This
text equivalent <em class="rfc2119" title="MAY">MAY</em> be used to support indexing of the content and also facilitate quality checking of the document during
@@ -923,20 +979,30 @@
</tr>
</tbody>
</table>
-
- <p><a href="#image-profile-constraints" class="sec-ref"><span class="secno">7.</span> <span class="sec-title">Image Profile Constraints</span></a> specifies the use of the <code>ittm:altText</code> element with images.</p>
+
+ <p>The <code>ittm:altText</code> element <em class="rfc2119" title="SHALL">SHALL</em> be a child of the <code>metadata</code> element.</p>
+
+ <p><a href="#image-profile-constraints" class="sec-ref"><span class="secno">8.</span> <span class="sec-title">Image Profile Constraints</span></a> specifies the use of the <code>ittm:altText</code> element with images.</p>
+
+<div class="example"><div class="example-title"><span>Example 5</span></div><pre class="example">...
+<div region="r1" begin="1s" end="6s" smpte:backgroundImage="1.png">
+ <metadata>
+ <ittm:altText>Nous étions inscrits au même lycée.</ttm:title>
+ </metadata>
+</div>
+...</pre></div>
<div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_11"><span>Note</span></div><p class="">In contrast to the common use of <code>alt</code> attributes in [<cite><a class="bibref" href="#bib-HTML5">HTML5</a></cite>], the <code>ittm:altText</code>
attribute content is not intended to be displayed in place of the element if the element is not loaded. The
- <code>ittm:altText</code> attribute content can however be read and used by assistive technologies. .</p></div>
+ <code>ittm:altText</code> attribute content can however be read and used by assistive technologies.</p></div>
</section>
</section>
<section id="region">
- <h3 role="heading" id="h3_region"><span class="secno">5.8 </span>Region</h3>
+ <h3 role="heading" id="h3_region"><span class="secno">6.8 </span>Region</h3>
<section id="presented-region">
- <h4 role="heading" id="h4_presented-region"><span class="secno">5.8.1 </span>Presented Region</h4>
+ <h4 role="heading" id="h4_presented-region"><span class="secno">6.8.1 </span>Presented Region</h4>
<p>A <dfn id="dfn-presented-region">presented region</dfn> is a temporally active region that satisfies the following conditions:</p>
@@ -953,7 +1019,7 @@
</section>
<section id="dimensions-and-position">
- <h4 role="heading" id="h4_dimensions-and-position"><span class="secno">5.8.2 </span>Dimensions and Position</h4>
+ <h4 role="heading" id="h4_dimensions-and-position"><span class="secno">6.8.2 </span>Dimensions and Position</h4>
<p>All regions <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> extend beyond the root container, i.e. the intersection of the sets of coordinates belonging to a
region (including its boundary) and the sets of coordinates belonging to the root container (including its boundary) is the
@@ -964,23 +1030,23 @@
</section>
<section id="maximum-number">
- <h4 role="heading" id="h4_maximum-number"><span class="secno">5.8.3 </span>Maximum number</h4>
+ <h4 role="heading" id="h4_maximum-number"><span class="secno">6.8.3 </span>Maximum number</h4>
<p>The number of <a title="presented region" href="#dfn-presented-region" class="internalDFN">presented regions</a> in a given <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> <em class="rfc2119" title="SHALL NOT">SHALL NOT</em> be greater than 4.</p>
</section>
</section>
<section id="hypothetical-render-model-1">
- <h3 role="heading" id="h3_hypothetical-render-model-1"><span class="secno">5.9 </span>Hypothetical Render Model</h3>
+ <h3 role="heading" id="h3_hypothetical-render-model-1"><span class="secno">6.9 </span>Hypothetical Render Model</h3>
<p>Any sequence of consecutive <a title="intermediate synchronic document" href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic documents</a> <em class="rfc2119" title="SHALL">SHALL</em> be
- reproducible without error by the Hypothetical Render Model specified in Section <a href="#hypothetical-render-model" class="sec-ref"><span class="secno">8.</span> <span class="sec-title">Hypothetical Render Model</span></a>.</p>
+ reproducible without error by the Hypothetical Render Model specified in Section <a href="#hypothetical-render-model" class="sec-ref"><span class="secno">9.</span> <span class="sec-title">Hypothetical Render Model</span></a>.</p>
</section>
<section id="common-features" typeof="bibo:Chapter" resource="#common-features" rel="bibo:Chapter">
- <h3 role="heading" id="h3_common-features"><span class="secno">5.10 </span>Features</h3>
-
- <p>Unless specified otherwise,a subtitle document <em class="rfc2119" title="SHALL">SHALL</em> conform to the following:</p>
+ <h3 role="heading" id="h3_common-features"><span class="secno">6.10 </span>Features</h3>
+
+ <p>Unless specified otherwise,a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> conform to the following:</p>
<table class="simple">
<tbody>
@@ -1095,7 +1161,7 @@
<tr>
<td><code>#length-cell</code></td>
- <td><em class="rfc2119" title="SHALL NOT">SHALL NOT</em> be used.</td>
+ <td><em class="rfc2119" title="SHALL NOT">SHALL NOT</em> be used other than to specify the value of <code>ebutts:linePadding</code>.</td>
</tr>
<tr>
@@ -1313,8 +1379,7 @@
<tr>
<td><code>#timing</code></td>
- <td><em class="rfc2119" title="MAY">MAY</em> be used. The same syntax of <code>#clock-time</code> or <code>#offset-time</code> <em class="rfc2119" title="SHOULD">SHOULD</em> be used throughout the
- subtitle document.</td>
+ <td><em class="rfc2119" title="MAY">MAY</em> be used. A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHOULD">SHOULD</em> use either the <code>offset-time</code> or <code>offset-time</code> syntax for all time expressions used therein.</td>
</tr>
<tr>
@@ -1419,17 +1484,17 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_12"><span>Note</span></div><p class="">As specified in [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>], a <code>#time-offset-with-frames</code> expression is translated to a media time
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_12"><span>Note</span></div><p class="">As specified in [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], a <code>#time-offset-with-frames</code> expression is translated to a media time
M according to M = 3600 · hours + 60 · minutes + seconds + (frames ÷ (<code>ttp:frameRateMultiplier</code> ·
<code>ttp:frameRate</code>)).</p></div>
</section>
</section>
<section id="text-profile-constraints" typeof="bibo:Chapter" resource="#text-profile-constraints" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_text-profile-constraints"><span class="secno">6. </span>Text Profile Constraints</h2>
+ <!--OddPage--><h2 role="heading" id="h2_text-profile-constraints"><span class="secno">7. </span>Text Profile Constraints</h2>
<section id="text-profile-designator" typeof="bibo:Chapter" resource="#text-profile-designator" rel="bibo:Chapter">
- <h3 role="heading" id="h3_text-profile-designator"><span class="secno">6.1 </span>Profile Designator</h3>
+ <h3 role="heading" id="h3_text-profile-designator"><span class="secno">7.1 </span>Profile Designator</h3>
<p>This profile is associated with the following profile designator:</p>
@@ -1451,22 +1516,35 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_13"><span>Note</span></div><p class="">As specified in <a href="#common-features" class="sec-ref"><span class="secno">5.10</span> <span class="sec-title">Features</span></a>, the presence of the <code>ttp:profile</code> attribute is
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_13"><span>Note</span></div><p class="">As specified in <a href="#common-features" class="sec-ref"><span class="secno">6.10</span> <span class="sec-title">Features</span></a>, the presence of the <code>ttp:profile</code> attribute is
not required by this profile. The profile designator specified above is intended to be generally used to signal conformance
- of a subtitle document to the profile. The details of such signaling depends on the application, and can, for instance, use
- metadata structures out-of-band of the subtitle document.</p></div>
+ of a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> to the profile. The details of such signaling depends on the application, and can, for instance, use
+ metadata structures out-of-band of the <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>.</p></div>
</section>
<section id="recommended-character-sets">
- <h3 role="heading" id="h3_recommended-character-sets"><span class="secno">6.2 </span>Recommended Character Sets</h3>
-
- <p>Authors should select from the sets of characters specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">A.</span> <span class="sec-title">Recommended Character Sets</span></a>.</p>
+ <h3 role="heading" id="h3_recommended-character-sets"><span class="secno">7.2 </span>Recommended Character Sets</h3>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHOULD">SHOULD</em> be authored using characters selected from the sets specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">B.</span> <span class="sec-title">Recommended Character Sets</span></a>.</p>
</section>
-
+
+ <section id="reference-fonts-1">
+ <h3 role="heading" id="h3_reference-fonts-1"><span class="secno">7.3 </span>Reference Fonts</h3>
+
+
+ <p>The flow of text within a region depends the dimensions and spacing (kerning) between individual glyphs. The following allows the region extent to be set such that text flows without clipping.</p>
+
+ <p>A <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> be authored such that glyphs that match the combinations of computed font family and code point listed in <a href="#reference-fonts" class="sec-ref"><span class="secno">A.</span> <span class="sec-title">Reference Fonts</span></a> are laid out using metrics equal to the metrics of the specified reference font, unless the glyph is not defined by the reference font.</p>
+
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_14"><span>Note</span></div><p class="">Implementations can use use fonts other than those specified in <a href="#reference-fonts" class="sec-ref"><span class="secno">A.</span> <span class="sec-title">Reference Fonts</span></a>. Two fonts with equal metrics can have a different appearance, but flow identically.</p></div>
+
+ </section>
+
+
<section id="features">
- <h3 role="heading" id="h3_features"><span class="secno">6.3 </span>Features</h3>
-
- <p>The subtitle document <em class="rfc2119" title="SHALL">SHALL</em> conform to the following table:</p>
+ <h3 role="heading" id="h3_features"><span class="secno">7.4 </span>Features</h3>
+
+ <p>The <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> conform to the following table:</p>
<table class="simple">
<tbody>
@@ -1526,7 +1604,7 @@
<tr>
<td><code>#displayAlign</code></td>
- <td><em class="rfc2119" title="MAY">MAY</em> be used. The initial value of <code>tts:displayAlign</code> <em class="rfc2119" title="SHALL">SHALL</em> be "after" for the default region. NOTE: This
+ <td><em class="rfc2119" title="MAY">MAY</em> be used. The initial value of <code>tts:displayAlign</code> <em class="rfc2119" title="SHALL">SHALL</em> be "after" for the <a href="#dfn-default-region" class="internalDFN">Default Region</a>. NOTE: This
is consistent with [<cite><a class="bibref" href="#bib-ST2052-1">ST2052-1</a></cite>].</td>
</tr>
@@ -1783,10 +1861,10 @@
</section>
<section id="image-profile-constraints" typeof="bibo:Chapter" resource="#image-profile-constraints" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_image-profile-constraints"><span class="secno">7. </span>Image Profile Constraints</h2>
+ <!--OddPage--><h2 role="heading" id="h2_image-profile-constraints"><span class="secno">8. </span>Image Profile Constraints</h2>
<section id="image-profile-designator" typeof="bibo:Chapter" resource="#image-profile-designator" rel="bibo:Chapter">
- <h3 role="heading" id="h3_image-profile-designator"><span class="secno">7.1 </span>Profile Designator</h3>
+ <h3 role="heading" id="h3_image-profile-designator"><span class="secno">8.1 </span>Profile Designator</h3>
<p>This profile is associated with the following profile designator:</p>
@@ -1806,36 +1884,36 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_14"><span>Note</span></div><p class="">As specified in <a href="#common-features" class="sec-ref"><span class="secno">5.10</span> <span class="sec-title">Features</span></a>, the presence of the <code>ttp:profile</code> attribute is
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_15"><span>Note</span></div><p class="">As specified in <a href="#common-features" class="sec-ref"><span class="secno">6.10</span> <span class="sec-title">Features</span></a>, the presence of the <code>ttp:profile</code> attribute is
not required by this profile. The profile designator specified above is intended to be generally used to signal conformance
- of a subtitle document to the profile. The details of such signaling depends on the application, and can, for instance, use
- metadata structures out-of-band of the subtitle document.</p></div>
+ of a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> to the profile. The details of such signaling depends on the application, and can, for instance, use
+ metadata structures out-of-band of the <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>.</p></div>
</section>
<section id="presented-image">
- <h3 role="heading" id="h3_presented-image"><span class="secno">7.2 </span>Presented Image</h3>
+ <h3 role="heading" id="h3_presented-image"><span class="secno">8.2 </span>Presented Image</h3>
<section id="definition">
- <h4 role="heading" id="h4_definition"><span class="secno">7.2.1 </span>Definition</h4>
+ <h4 role="heading" id="h4_definition"><span class="secno">8.2.1 </span>Definition</h4>
<p>A <dfn id="dfn-presented-image">presented image</dfn> is a <code>div</code> element with a <code>smpte:backgroundImage</code> attribute that does
not extend beyond a <a href="#dfn-presented-region" class="internalDFN">presented region</a>.</p>
</section>
<section id="number-per-region">
- <h4 role="heading" id="h4_number-per-region"><span class="secno">7.2.2 </span>Number per Region</h4><!-- start CFF-TT 1.0.7 -->
+ <h4 role="heading" id="h4_number-per-region"><span class="secno">8.2.2 </span>Number per Region</h4>
<p>In a given synchronic document, there shall be at most one <a href="#dfn-presented-image" class="internalDFN">presented image</a> per <a href="#dfn-presented-region" class="internalDFN">presented region</a>.</p>
- <!-- end CFF-TT 1.0.7 -->
+
</section>
</section>
<section id="div-element">
- <h3 role="heading" id="h3_div-element"><span class="secno">7.3 </span><code>div</code> element</h3>
-
- <p>If a <code>smpte:backgroundImage</code> attribute is applied to a <code>div</code> element:</p>
-
- <ul>
+ <h3 role="heading" id="h3_div-element"><span class="secno">8.3 </span><code>div</code> element</h3>
+
+ <p>If a <code>smpte:backgroundImage</code> attribute is applied to a <code>div</code> element:
+
+ </p><ul>
<li>the width and height of the region extent associated with the <code>div</code> element <em class="rfc2119" title="SHALL">SHALL</em> be specified and <em class="rfc2119" title="SHALL">SHALL</em> be
equal to the width and height of the image source referenced by the <code>smpte:backgroundImage</code>;</li>
@@ -1847,12 +1925,16 @@
as specified in Sections 7.1.1.3 and 15.1 of [<cite><a class="bibref" href="#bib-MHP">MHP</a></cite>]. If a pHYs chunk is present, it <em class="rfc2119" title="SHALL">SHALL</em> indicate square pixels. Note:
If no pixel aspect ratio is carried, the default of square pixels is assumed.<br></li>
</ul>
+
+ <p></p>
+
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_16"><span>Note</span></div><p class="">In [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>], <code>tts:extent</code> and <code>tts:origin</code> do not apply to <code>div</code> elements. In order to individually position multiple <code>div</code> elements, each <code>div</code> can be associated with a distinct <code>region</code> with the desired <code>tts:extent</code> and <code>tts:origin</code>.</p></div>
</section>
<section id="features-1">
- <h3 role="heading" id="h3_features-1"><span class="secno">7.4 </span>Features</h3>
-
- <p>The features included in a subtitle document <em class="rfc2119" title="SHALL">SHALL</em> conform to the Table below:</p>
+ <h3 role="heading" id="h3_features-1"><span class="secno">8.4 </span>Features</h3>
+
+ <p>The features included in a <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHALL">SHALL</em> conform to the Table below:</p>
<table class="simple">
<tbody>
@@ -2009,19 +2091,17 @@
</section>
<section id="hypothetical-render-model" typeof="bibo:Chapter" resource="#hypothetical-render-model" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_hypothetical-render-model"><span class="secno">8. </span>Hypothetical Render Model</h2>
-
- <section id="performance-model">
- <h3 role="heading" id="h3_performance-model"><span class="secno">8.1 </span>Performance Model</h3>
-
- <section id="overview">
- <h4 role="heading" id="h4_overview"><span class="secno">8.1.1 </span>Overview</h4>
+ <!--OddPage--><h2 role="heading" id="h2_hypothetical-render-model"><span class="secno">9. </span>Hypothetical Render Model</h2>
+
+ <section id="overview">
+
+ <h3 role="heading" id="h3_overview"><span class="secno">9.1 </span>Overview</h3>
<p>This Section specifies the Hypothetical Render Model illustrated in <a href="#fig-hypothetical-render-model" class="fig-ref">Fig. <span class="figno">1</span> <span class="fig-title">
Hypothetical Render Model
</span></a>.</p>
- <p>The purpose of the model is to limit subtitle document complexity. It is not intended as a specification of the
+ <p>The purpose of the model is to limit <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> complexity. It is not intended as a specification of the
processing requirements for implementations. For instance, while the model defines a glyph buffer for the purpose of
limiting the number of glyphs displayed at any given point in time, it neither requires the implementation of such a
buffer, nor models the sub-pixel character positioning and anti-aliased glyph rendering that can be used to produce text
@@ -2036,7 +2116,7 @@
</figure>
<p>The model operates on successive <a title="intermediate synchronic document" href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic documents</a>
- obtained from an input subtitle document, and uses a simple double buffering model: while an <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic
+ obtained from an input <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>, and uses a simple double buffering model: while an <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic
document</a> E<sub>n</sub> is being painted into Presentation Buffer P<sub>n</sub> (the "front buffer" of the model), the
previous <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n-1</sub> is available for display in Presentation Buffer
P<sub>n-1</sub> (the "back buffer" of the model).</p>
@@ -2058,7 +2138,7 @@
</section>
<section id="general-1">
- <h4 role="heading" id="h4_general-1"><span class="secno">8.1.2 </span>General</h4>
+ <h3 role="heading" id="h3_general-1"><span class="secno">9.2 </span>General</h3>
<p>The Presentation Compositor <em class="rfc2119" title="SHALL">SHALL</em> render in Presentation Buffer P<sub>n</sub> each successive intermediate synchronic
document E<sub>n</sub> using the following steps in order:</p>
@@ -2092,17 +2172,17 @@
<ul>
<li>S(E<sub>n</sub>) is the total normalized drawing area for <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub>, as
- specified in <a href="#paint-regions" class="sec-ref"><span class="secno">8.1.3</span> <span class="sec-title">Paint Regions</span></a>
+ specified in <a href="#paint-regions" class="sec-ref"><span class="secno">9.3</span> <span class="sec-title">Paint Regions</span></a>
</li>
<li>BDraw is the normalized background drawing performance factor.</li>
<li>DUR<sub>T</sub>(E<sub>n</sub>) is the duration, in seconds, for painting the text subtitle content for intermediate
- synchronic document E<sub>n</sub>, as specified in Section <a href="#paint-text" class="sec-ref"><span class="secno">8.1.5</span> <span class="sec-title">Paint Text</span></a>
+ synchronic document E<sub>n</sub>, as specified in Section <a href="#paint-text" class="sec-ref"><span class="secno">9.5</span> <span class="sec-title">Paint Text</span></a>
</li>
<li>DUR<sub>I</sub>(E<sub>n</sub>) is the duration, in seconds, for painting the image subtitle content for intermediate
- synchronic document E<sub>n</sub>, as specified in Section <a href="#paint-images" class="sec-ref"><span class="secno">8.1.4</span> <span class="sec-title">Paint Images</span></a>
+ synchronic document E<sub>n</sub>, as specified in Section <a href="#paint-images" class="sec-ref"><span class="secno">9.4</span> <span class="sec-title">Paint Images</span></a>
</li>
</ul>
@@ -2110,7 +2190,7 @@
P<sub>n-1</sub> at the presentation time of <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub>, making the latter
available for display.</p>
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_15"><span>Note</span></div><p class="">It is possible for the contents of Presentation Buffer P<sub>n-1</sub> to never be displayed. This can
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_17"><span>Note</span></div><p class="">It is possible for the contents of Presentation Buffer P<sub>n-1</sub> to never be displayed. This can
happen if Presentation Buffer P<sub>n</sub> is copied twice to Presentation Buffer P<sub>n-1</sub> between two consecutive
video frame boundaries of the related video object.</p></div>
@@ -2143,15 +2223,15 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_16"><span>Note</span></div><p class="">BDraw effectively sets a limit on fillings regions - for example, assuming that the root container is
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_18"><span>Note</span></div><p class="">BDraw effectively sets a limit on fillings regions - for example, assuming that the root container is
ultimately rendered at 1920×1080 resolution, a BDraw of 12 s<sup>-1</sup> would correspond to a fill rate of
1920×1080×12/s=23.7×2<sup>20</sup>pixels s<sup>-1</sup>.</p></div>
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_17"><span>Note</span></div><p class="">IPD effectively sets a limit on the complexity of any given <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a>.</p></div>
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_19"><span>Note</span></div><p class="">IPD effectively sets a limit on the complexity of any given <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a>.</p></div>
</section>
<section id="paint-regions" typeof="bibo:Chapter" resource="#paint-regions" rel="bibo:Chapter">
- <h4 role="heading" id="h4_paint-regions"><span class="secno">8.1.3 </span>Paint Regions</h4>
+ <h3 role="heading" id="h3_paint-regions"><span class="secno">9.3 </span>Paint Regions</h3>
<p>The total normalized drawing area S(E<sub>n</sub>) for <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub> <em class="rfc2119" title="SHALL">SHALL</em>
be</p>
@@ -2160,7 +2240,7 @@
<p>where CLEAR(E<sub>0</sub>) = 0 and CLEAR(E<sub>n | n > 0</sub>) = 1, i.e. the root container in its entirety.</p>
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_18"><span>Note</span></div><p class="">To ensure consistency of the Presentation Buffer, a new <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> requires
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_20"><span>Note</span></div><p class="">To ensure consistency of the Presentation Buffer, a new <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> requires
clearing of the root container.</p></div>
<p>PAINT(E<sub>n</sub>) <em class="rfc2119" title="SHALL">SHALL</em> be the normalized area to be painted for all regions that are used in intermediate synchronic
@@ -2176,7 +2256,7 @@
<p>NSIZE(R<sub>i</sub>) = (width of R<sub>i</sub> ∙ height of R<sub>i</sub> ) ÷ (root container height ∙ root
container width)</p>
- <aside class="example"><div class="example-title"><span>Example 2</span></div>
+ <aside class="example"><div class="example-title"><span>Example 6</span></div>
For a region R<sub>i</sub> in with <code>tts:extent="250px 50px"</code> within a root container with
<code>tts:extent="1920px 1080px"</code>, NSIZE(R<sub>i</sub>) = 0.603.
</aside>
@@ -2190,12 +2270,12 @@
<li>It is specified on the <code>region</code> layout element that defines the region.</li>
<li>It is specified on a <code>div</code>, <code>p</code>, <code>span</code> or <code>br</code> content element that is
- to be flowed into the region for presentation in the <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> (see [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>] for more
+ to be flowed into the region for presentation in the <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> (see [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>] for more
details on when a content element is followed into a region).
</li>
<li>It is specified on a <code>set</code> animation element that is to be applied to content elements that are to be
- flowed into the region for presentation in the <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> (see [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>] for more details
+ flowed into the region for presentation in the <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> (see [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>] for more details
on when a <code>set</code> animation element is applied to content elements).
</li>
</ul>
@@ -2206,7 +2286,7 @@
</section>
<section id="paint-images" typeof="bibo:Chapter" resource="#paint-images" rel="bibo:Chapter">
- <h4 role="heading" id="h4_paint-images"><span class="secno">8.1.4 </span>Paint Images</h4>
+ <h3 role="heading" id="h3_paint-images"><span class="secno">9.4 </span>Paint Images</h3>
<p>The Presentation Compositor <em class="rfc2119" title="SHALL">SHALL</em> paint into the Presentation Buffer P<sub>n</sub> all visible pixels of presented
images of <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub>.</p>
@@ -2250,7 +2330,7 @@
<p>NRGA(I<sub>i</sub>) is the Normalized Image Area of <a href="#dfn-presented-image" class="internalDFN">presented image</a> I<sub>i</sub> and <em class="rfc2119" title="SHALL">SHALL</em> be equal to:</p>
- <p>NRGA(I<sub>i</sub>)= (width of I<sub>i</sub> ) ∙ height of I<sub>i</sub> ) ÷ ( root container height ∙ root
+ <p>NRGA(I<sub>i</sub>)= (width of I<sub>i</sub> ∙ height of I<sub>i</sub> ) ÷ ( root container height ∙ root
container width )</p>
<p>NSIZ(I<sub>i</sub>) <em class="rfc2119" title="SHALL">SHALL</em> be the number of pixels of <a href="#dfn-presented-image" class="internalDFN">presented image</a> I<sub>i</sub>.</p>
@@ -2298,7 +2378,7 @@
</section>
<section id="paint-text" typeof="bibo:Chapter" resource="#paint-text" rel="bibo:Chapter">
- <h4 role="heading" id="h4_paint-text"><span class="secno">8.1.5 </span>Paint Text</h4>
+ <h3 role="heading" id="h3_paint-text"><span class="secno">9.5 </span>Paint Text</h3>
<p>For each glyph displayed in <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub>, the Presentation Compositor
<em class="rfc2119" title="SHALL">SHALL</em>:</p>
@@ -2315,7 +2395,7 @@
G<sub>n</sub> using the corresponding style information.</li>
</ul>
- <p>Two glyphs are identical if and only if the following [<cite><a class="bibref" href="#bib-TTML1">TTML1</a></cite>] styles are identical:</p>
+ <p>Two glyphs are identical if and only if the following [<cite><a class="bibref" href="#bib-ttaf1-dfxp">ttaf1-dfxp</a></cite>] styles are identical:</p>
<ul>
<li><code>tts:color</code></li>
@@ -2419,11 +2499,11 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="3" role="heading" id="h_note_19"><span>Note</span></div><p class="">NRGA(G<sub>i</sub>) does not take into account glyph decorations (e.g. underline), glyph effects (e.g.
+ <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_21"><span>Note</span></div><p class="">NRGA(G<sub>i</sub>) does not take into account glyph decorations (e.g. underline), glyph effects (e.g.
outline) or actual glyph aspect ratio. An implementation can determine an actual buffer size needs based on worst-case
glyph size complexity.</p></div>
- <aside class="example"><div class="example-title"><span>Example 3</span></div>
+ <aside class="example"><div class="example-title"><span>Example 7</span></div>
Setting a Glyph Buffer Normalized Size effectively sets a limit on the total number of distinct glyphs present in any
given <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a> E<sub>n</sub>. For example, assuming a maximum Normalized Glyph Buffer Size
of 1 and the default tts:fontSize of 1c are used, the glyph's height as percentage of root container height is 1/15 , and
@@ -2431,7 +2511,7 @@
rendering at 1920x1080 would need to allocate a glyph buffer no smaller than (1920÷32)×(1080÷15)×225=~1 Mpixels.
</aside>
- <aside class="example"><div class="example-title"><span>Example 4</span></div>
+ <aside class="example"><div class="example-title"><span>Example 8</span></div>
GCpy effectively sets a limit on animating glyphs. For example, assuming that the root container is ultimately rendered
at 1920×1080 resolution and no regions need to have background color painted (so only a CLEAR(E<sub>n</sub>) operation
is required for the normalized drawing area for the <a href="#dfn-intermediate-synchronic-document" class="internalDFN">intermediate synchronic document</a>), a GCpy and BDraw of 12 s-1
@@ -2439,24 +2519,19 @@
approximately 12 s<sup>-1</sup> ÷ (1 + ( 160 × 0.05<sup>2</sup> )) = 8.6 times per second.
</aside>
- <aside class="example"><div class="example-title"><span>Example 5</span></div>
+ <aside class="example"><div class="example-title"><span>Example 9</span></div>
Ren(G<sub>i</sub>) effectively sets a limit on the glyph rendering rate. For example, assuming that the root container is
ultimately rendered at a 1920×1080 resolution, a Ren(G<sub>i</sub>) of 1.2 s-1 would mean that at most 120 glyphs with a
fontSize of 108 px (10% of 1080 px and NRGA(G<sub>i</sub>) = 0.01) could be rendered every second.
</aside>
</section>
- </section><!-- start CFF-TT 1.0.7 -->
-
- <section id="reference-fonts">
- <h3 role="heading" id="h3_reference-fonts"><span class="secno">8.2 </span>Reference Fonts</h3>
-
- <p>The height and width of the area occupied by text within a region depend on line height as well as the width of, and
- spacing between (kerning), individual glyphs. The following allows the area occupied by text to be closely determined, and
- thus the region extent to be set such that text flows without clipping.</p>
-
- <p>A glyph that matches one of the combinations of computed font family and code point listed in the table below <em class="rfc2119" title="SHALL">SHALL</em> be
- laid out using metrics equal to the metrics of the specified reference font, unless the glyph is not defined by the reference
- font.</p>
+ </section>
+
+
+ <section class="appendix" id="reference-fonts" typeof="bibo:Chapter" resource="#reference-fonts" rel="bibo:Chapter">
+ <!--OddPage--><h2 role="heading" id="h2_reference-fonts"><span class="secno">A. </span>Reference Fonts</h2>
+
+
<table class="simple">
<thead>
@@ -2474,7 +2549,7 @@
<td>monospaceSerif</td>
<td>
- All code points specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">A.</span> <span class="sec-title">Recommended Character Sets</span></a>
+ All code points specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">B.</span> <span class="sec-title">Recommended Character Sets</span></a>
</td>
<td>
@@ -2487,7 +2562,7 @@
<td>proportionalSansSerif</td>
<td>
- All code points specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">A.</span> <span class="sec-title">Recommended Character Sets</span></a>, excluding the code points
+ All code points specified in <a href="#recommended-unicode-code-points-per-language" class="sec-ref"><span class="secno">B.</span> <span class="sec-title">Recommended Character Sets</span></a>, excluding the code points
defined for Semitic languages alone.
</td>
@@ -2500,21 +2575,18 @@
</tbody>
</table>
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_20"><span>Note</span></div><p class="">Implementations can use use fonts other than those specified above. Two fonts with equal metrics can have a
- different appearance, but flow identically.</p></div>
-
- <div class="note"><div class="note-title" aria-level="2" role="heading" id="h_note_21"><span>Note</span></div><p class="">proportionalSansSerif is not used in practice for Hebrew and Arabic captions and subtitles.</p></div>
+ <div class="note"><div class="note-title" aria-level="1" role="heading" id="h_note_22"><span>Note</span></div><p class="">proportionalSansSerif is not used in practice for Hebrew and Arabic captions and subtitles.</p></div>
</section>
- </section>
+
<section class="appendix" id="recommended-unicode-code-points-per-language" typeof="bibo:Chapter" resource="#recommended-unicode-code-points-per-language" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_recommended-unicode-code-points-per-language"><span class="secno">A. </span>Recommended Character Sets</h2>
+ <!--OddPage--><h2 role="heading" id="h2_recommended-unicode-code-points-per-language"><span class="secno">B. </span>Recommended Character Sets</h2>
<p>When authoring textual content, authors are encouraged to select from sets of characters based on the language indicated
using <code>xml:lang</code>. The idea is to increase the confidence that the text will be presented correctly by
implementations targeting specific locales.</p>
- <p>Specifically, for a given language, an author should choose characters from the set resulting from the union of the
+ <p>Specifically, for a given language, an author <em class="rfc2119" title="SHOULD">SHOULD</em> choose characters from the set resulting from the union of the
following sets:</p>
<ul>
@@ -2527,7 +2599,7 @@
<li>supplementary characters specified for the language in Table 2, if any</li>
</ul>
- <p>Some of these sets may overlap.</p>
+ <p>Some of these sets <em class="rfc2119" title="MAY">MAY</em> overlap.</p>
<p>Table 1 captures the set of characters intended to be available to authors across all languages. The terms used in the table
are defined in [<cite><a class="bibref" href="#bib-UNICODE">UNICODE</a></cite>].</p>
@@ -2846,7 +2918,7 @@
</section>
<section class="appendix" id="forced-content" typeof="bibo:Chapter" resource="#forced-content" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_forced-content"><span class="secno">B. </span>Forced content (non-normative)</h2>
+ <!--OddPage--><h2 role="heading" id="h2_forced-content"><span class="secno">C. </span>Forced content (non-normative)</h2>
<p><a href="#fig-forced-content" class="fig-ref">Fig. <span class="figno">3</span> <span class="fig-title">
Illustration of the use of itts:forcedDisplay
@@ -2875,18 +2947,18 @@
</section>
<section class="appendix" id="wcag-applications" typeof="bibo:Chapter" resource="#wcag-applications" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_wcag-applications"><span class="secno">C. </span>WCAG Considerations</h2>
+ <!--OddPage--><h2 role="heading" id="h2_wcag-applications"><span class="secno">D. </span>WCAG Considerations</h2>
<p>In order to meet the guidelines in [<cite><a class="bibref" href="#bib-WCAG20">WCAG20</a></cite>], the following considerations apply.</p>
<p>Guideline 1.1 of [<cite><a class="bibref" href="#bib-WCAG20">WCAG20</a></cite>] recommends that an implementation provide text alternatives for all non-text content. In the
context of this specification, this text alternative is intended primarily to support users of the subtitles who cannot see
- images. Since the images of an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> subtitle document usually represent subtitle or caption text, the
+ images. Since the images of an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> usually represent subtitle or caption text, the
guidelines for authoring text equivalent strings given at <span class="sec-no">Images of text</span> of [<cite><a class="bibref" href="#bib-HTML5">HTML5</a></cite>] are
appropriate.</p>
- <p>Thus, for each subtitle in an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> subtitle document, a text equivalent content in a <a href="#dfn-text-profile" class="internalDFN">Text Profile</a>
- subtitle document <em class="rfc2119" title="SHOULD">SHOULD</em> be written so that it conveys all essential content and fulfills the same function as the
+ <p>Thus, for each subtitle in an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a> <a href="#dfn-document-instance" class="internalDFN">Document Instance</a>, a text equivalent content in a <a href="#dfn-text-profile" class="internalDFN">Text Profile</a>
+ <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> <em class="rfc2119" title="SHOULD">SHOULD</em> be written so that it conveys all essential content and fulfills the same function as the
corresponding subtitle image. In the context of subtitling and captioning, this content will be (as a minimum) the verbatim
equivalent of the image without précis or summarization. However, the author <em class="rfc2119" title="MAY">MAY</em> include extra information to the text
equivalent string in cases where styling is applied to the text image with a deliberate connotation, as a <em>functional</em>
@@ -2894,8 +2966,8 @@
<p>For instance, in subtitling and captioning, italics can be used to indicate an off screen speaker context (for example a
voice from a radio). An author can choose to include this functional information in the text equivalent; for example, by
- including the word "Radio: " before the image equivalent text. It should also be noted that images in an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>
- subtitle document that are intended for use as <em>captions</em>, i.e. intended for a hard of hearing audience, might already
+ including the word "Radio: " before the image equivalent text. Note that images in an <a href="#dfn-image-profile" class="internalDFN">Image Profile</a>
+ <a href="#dfn-document-instance" class="internalDFN">Document Instance</a> that are intended for use as <em>captions</em>, i.e. intended for a hard of hearing audience, might already
include this functional information in the rendered text.</p>
<p>Guideline 1.1 of [<cite><a class="bibref" href="#bib-WCAG20">WCAG20</a></cite>] also recommends that accessible text alternatives must be "programmatically determinable." This
@@ -2903,19 +2975,72 @@
that people with disabilities use. It also means that the user must be able to use their assistive technology to find the
alternative text (that they can use) when they land on the non-text content (that they can't use).</p>
</section>
+
+ <section class="appendix" id="sample-instance" typeof="bibo:Chapter" resource="#sample-instance" rel="bibo:Chapter">
+ <!--OddPage--><h2 role="heading" id="h2_sample-instance"><span class="secno">E. </span>Sample Document Instance (non-normative)</h2>
+
+ <p>The following sample <a title="Document Instance" href="#dfn-document-instance" class="internalDFN">Document Instances</a> conforms to the Text and Image Profiles, respectively. These samples are for illustration only, and are neither intended to capture current or future practice, nor exercise all normative prose contained in this specification.</p>
+
+<div class="example"><div class="example-title"><span>Example 10</span></div><pre class="example"><?xml version="1.0" encoding="UTF-8"?>
+<tt
+ xml:lang="en" xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:aspectRatio="4 3">
+
+ <head>
+ <layout>
+ <region xml:id="area1" tts:origin="10% 10%" tts:extent="80% 10%" tts:backgroundColor="black" tts:displayAlign="center" tts:color="red"/>
+ </layout>
+ </head>
+ <body>
+ <div>
+ <p region="area1" begin="0s" end="6s">Lorem ipsum dolor sit amet.</p>
+ </div>
+ </body>
+</tt></pre></div>
+
+
+<div class="example"><div class="example-title"><span>Example 11</span></div><pre class="example"><?xml version="1.0" encoding="UTF-8"?>
+<tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt"
+ xmlns:itts="http://www.w3.org/ns/ttml/profile/imsc1#styling"
+ tts:extent="640px 480px"
+ ttp:frameRate="25"
+ xml:lang="fr">
+
+ <head>
+ <layout>
+ <region xml:id="region1" tts:origin="120px 410px" tts:extent="240px 40px" tts:showBackground="whenActive"/>
+ <region xml:id="region2" tts:origin="120px 20px" tts:extent="240px 40px" tts:showBackground="whenActive"/>
+ </layout>
+ </head>
+ <body>
+ <div region="region1" begin="00:00:01:00" end="00:00:02:00" smpte:backgroundImage="1.png"/>
+ <div region="region1" begin="00:00:03:20" end="00:00:04:12" smpte:backgroundImage="2.png"/>
+ <div region="region2" itts:forcedDisplay="true" begin="00:00:03:20" end="00:00:04:12" smpte:backgroundImage="3.png"/>
+ </body>
+</tt>
+</pre></pre></div></section>
<section class="appendix" id="features-and-extensions" typeof="bibo:Chapter" resource="#features-and-extensions" rel="bibo:Chapter">
- <!--OddPage--><h2 role="heading" id="h2_features-and-extensions"><span class="secno">D. </span>Extensions</h2>
+ <!--OddPage--><h2 role="heading" id="h2_features-and-extensions"><span class="secno">F. </span>Extensions</h2>
<section class="appendix" id="general-2">
- <h3 role="heading" id="h3_general-2"><span class="secno">D.1 </span>General</h3>
+ <h3 role="heading" id="h3_general-2"><span class="secno">F.1 </span>General</h3>
<p>The following sections define extension designations, expressed as relative URIs (fragment identifiers) relative to the
IMSC 1.0 Extension Namespace base URI.</p>
</section>
<section class="appendix" id="progressivelydecodable">
- <h3 role="heading" id="h3_progressivelydecodable"><span class="secno">D.2 </span>#progressivelyDecodable</h3>
+ <h3 role="heading" id="h3_progressivelydecodable"><span class="secno">F.2 </span>#progressivelyDecodable</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#progressivelyDecodable</code> feature if it recognizes and is
capable of transforming values of the <a href="#ttp-progressivelyDecodable"><code>ittp:progressivelyDecodable</code></a>.</p>
@@ -2926,7 +3051,7 @@
</section>
<section class="appendix" id="aspectratio">
- <h3 role="heading" id="h3_aspectratio"><span class="secno">D.3 </span>#aspectRatio</h3>
+ <h3 role="heading" id="h3_aspectratio"><span class="secno">F.3 </span>#aspectRatio</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#aspectRatio</code> feature if it recognizes and is capable of
transforming values of the <a href="#ttp-aspectRatio"><code>ittp:aspectRatio</code></a>.</p>
@@ -2936,7 +3061,7 @@
</section>
<section class="appendix" id="forceddisplay">
- <h3 role="heading" id="h3_forceddisplay"><span class="secno">D.4 </span>#forcedDisplay</h3>
+ <h3 role="heading" id="h3_forceddisplay"><span class="secno">F.4 </span>#forcedDisplay</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#forcedDisplay</code> feature if it recognizes and is capable of
transforming values of the <a href="#tts-forcedDisplay"><code>itts:forcedDisplay</code></a>.</p>
@@ -2946,7 +3071,7 @@
</section>
<section class="appendix" id="alttext">
- <h3 role="heading" id="h3_alttext"><span class="secno">D.5 </span>#altText</h3>
+ <h3 role="heading" id="h3_alttext"><span class="secno">F.5 </span>#altText</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#altText</code> feature if it recognizes and is capable of
transforming values of the <a href="#ttm-altText"><code>ittm:altText</code></a> element.</p>
@@ -2956,7 +3081,7 @@
</section>
<section class="appendix" id="linepadding">
- <h3 role="heading" id="h3_linepadding"><span class="secno">D.6 </span>#linePadding</h3>
+ <h3 role="heading" id="h3_linepadding"><span class="secno">F.6 </span>#linePadding</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#linePadding</code> feature if it recognizes and is capable of
transforming values of the <code>ebutts:linePadding</code> attribute specified in [<cite><a class="bibref" href="#bib-EBU-TT-D">EBU-TT-D</a></cite>].</p>
@@ -2966,7 +3091,7 @@
</section>
<section class="appendix" id="multirowalign">
- <h3 role="heading" id="h3_multirowalign"><span class="secno">D.7 </span>#multiRowAlign</h3>
+ <h3 role="heading" id="h3_multirowalign"><span class="secno">F.7 </span>#multiRowAlign</h3>
<p>A <a href="#dfn-transformation-processor" class="internalDFN">transformation processor</a> supports the <code>#multiRowAlign</code> feature if it recognizes and is capable of
transforming values of the <code>ebutts:multiRowAlign</code> attribute specified in [<cite><a class="bibref" href="#bib-EBU-TT-D">EBU-TT-D</a></cite>].</p>
@@ -2977,18 +3102,20 @@
</section>
-<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" rel="bibo:Chapter"><!--OddPage--><h2 role="heading" id="h2_references"><span class="secno">E. </span>References</h2><section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:Chapter"><h3 role="heading" id="h3_normative-references"><span class="secno">E.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-CLDR">[CLDR]</dt><dd rel="dcterms:requires">Unicode Consortium. <a href="http://cldr.unicode.org">The Common Locale Data Repository Project</a>
+<section id="references" class="appendix" typeof="bibo:Chapter" resource="#references" rel="bibo:Chapter"><!--OddPage--><h2 role="heading" id="h2_references"><span class="secno">G. </span>References</h2><section id="normative-references" typeof="bibo:Chapter" resource="#normative-references" rel="bibo:Chapter"><h3 role="heading" id="h3_normative-references"><span class="secno">G.1 </span>Normative references</h3><dl class="bibliography" about=""><dt id="bib-CLDR">[CLDR]</dt><dd rel="dcterms:requires">Unicode Consortium. <a href="http://cldr.unicode.org">The Common Locale Data Repository Project</a>
</dd><dt id="bib-EBU-TT-D">[EBU-TT-D]</dt><dd rel="dcterms:requires">European Broadcasting Union (EBU). <a href="https://tech.ebu.ch/docs/tech/tech3380.pdf">Tech 3380, EBU-TT-D Subtitling Distribution Format Version 1.0</a>
</dd><dt id="bib-MHP">[MHP]</dt><dd rel="dcterms:requires">ETSI TS 101 812 V1.3.1, Digital Video Broadcasting (DVB); Multimedia Home
</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd rel="dcterms:requires">S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels</cite></a>. March 1997. Best Current Practice. URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a>
-</dd><dt id="bib-ST2052-1">[ST2052-1]</dt><dd rel="dcterms:requires">SMPTE ST 2052-1, Timed Text Format (SMPTE-TT)
-</dd><dt id="bib-TTML1">[TTML1]</dt><dd rel="dcterms:requires">Glenn Adams, Ed., <a href="http://www.w3.org/TR/ttml1/"><cite>Timed Text Markup Language 1 (TTML1) (Second Edition)</cite></a>, W3C Recommendation, 24 September 2013. URL: <a href="http://www.w3.org/TR/2013/REC-ttml1-20130924/">http://www.w3.org/TR/2013/REC-ttml1-20130924/</a>
+</dd><dt id="bib-ST2052-1">[ST2052-1]</dt><dd rel="dcterms:requires">SMPTE ST 2052-1, Timed Text Format (SMPTE-TT) URL: <a href="https://www.smpte.org/standards ">https://www.smpte.org/standards</a>
+</dd><dt id="bib-TTML1">[TTML1]</dt><dd rel="dcterms:requires">Glenn Adams. <a href="http://www.w3.org/TR/ttml1/"><cite>Timed Text Markup Language 1 (TTML1) (Second Edition)</cite></a>. 24 September 2013. W3C Recommendation. URL: <a href="http://www.w3.org/TR/ttml1/">http://www.w3.org/TR/ttml1/</a>
</dd><dt id="bib-UNICODE">[UNICODE]</dt><dd rel="dcterms:requires"><a href="http://www.unicode.org/versions/latest/"><cite>The Unicode Standard</cite></a>. URL: <a href="http://www.unicode.org/versions/latest/">http://www.unicode.org/versions/latest/</a>
</dd><dt id="bib-WCAG20">[WCAG20]</dt><dd rel="dcterms:requires">Ben Caldwell; Michael Cooper; Loretta Guarino Reid; Gregg Vanderheiden et al. <a href="http://www.w3.org/TR/WCAG20/"><cite>Web Content Accessibility Guidelines (WCAG) 2.0</cite></a>. 11 December 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/WCAG20/">http://www.w3.org/TR/WCAG20/</a>
+</dd><dt id="bib-ttaf1-dfxp">[ttaf1-dfxp]</dt><dd rel="dcterms:requires">Glenn Adams. <a href="http://www.w3.org/TR/ttaf1-dfxp/"><cite>Timed Text Markup Language (TTML) 1.0 (Second Edition)</cite></a>. 9 July 2013. W3C Proposed Edited Recommendation. URL: <a href="http://www.w3.org/TR/ttaf1-dfxp/">http://www.w3.org/TR/ttaf1-dfxp/</a>
</dd><dt id="bib-xml-names">[xml-names]</dt><dd rel="dcterms:requires">Tim Bray; Dave Hollander; Andrew Layman; Richard Tobin; Henry Thompson et al. <a href="http://www.w3.org/TR/xml-names"><cite>Namespaces in XML 1.0 (Third Edition)</cite></a>. 8 December 2009. W3C Recommendation. URL: <a href="http://www.w3.org/TR/xml-names">http://www.w3.org/TR/xml-names</a>
-</dd></dl></section><section id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:Chapter"><h3 role="heading" id="h3_informative-references"><span class="secno">E.2 </span>Informative references</h3><dl class="bibliography" about=""><dt id="bib-CEA-608">[CEA-608]</dt><dd rel="dcterms:references"><a href="http://www.ce.org/Standards/Standard-Listings/R4-3-Television-Data-Systems-Subcommittee/Line-21-Data-Service.aspx">Line-21 Data Services</a>, ANSI/CEA Standard.
+</dd></dl></section><section id="informative-references" typeof="bibo:Chapter" resource="#informative-references" rel="bibo:Chapter"><h3 role="heading" id="h3_informative-references"><span class="secno">G.2 </span>Informative references</h3><dl class="bibliography" about=""><dt id="bib-CEA-608">[CEA-608]</dt><dd rel="dcterms:references"><a href="http://www.ce.org/Standards/Standard-Listings/R4-3-Television-Data-Systems-Subcommittee/Line-21-Data-Service.aspx">Line-21 Data Services</a>, ANSI/CEA Standard.
</dd><dt id="bib-CEA-708">[CEA-708]</dt><dd rel="dcterms:references"><a href="http://www.ce.org/Standards/Standard-Listings/R4-3-Television-Data-Systems-Subcommittee/CEA-708-D.aspx">Digital Television (DTV) Closed Captioning</a>, ANSI/CEA Standard.
-</dd><dt id="bib-HTML5">[HTML5]</dt><dd rel="dcterms:references">Robin Berjon; Steve Faulkner; Travis Leithead; Erika Doyle Navara; Edward O'Connor; Silvia Pfeiffer. <a href="http://www.w3.org/TR/html5/"><cite>HTML5</cite></a>. 16 September 2014. W3C Proposed Recommendation. URL: <a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>
-</dd><dt id="bib-SDPUS">[SDPUS]</dt><dd rel="dcterms:references">World Wide Web Consortium (W3C). <a href="http://www.w3.org/TR/ttml10-sdp-us/">TTML Simple Delivery Profile for Closed Captions (US)</a> (W3C Working Group Note, 05 February 2013)
+</dd><dt id="bib-HTML5">[HTML5]</dt><dd rel="dcterms:references">Robin Berjon; Steve Faulkner; Travis Leithead; Erika Doyle Navara; Edward O'Connor; Silvia Pfeiffer. <a href="http://www.w3.org/TR/html5/"><cite>HTML5</cite></a>. 28 October 2014. W3C Recommendation. URL: <a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a>
</dd><dt id="bib-SUBM">[SUBM]</dt><dd rel="dcterms:references">World Wide Web Consortium (W3C). <a href="http://www.w3.org/Submission/2013/SUBM-ttml-ww-profiles-20130607/">TTML Text and Image Profiles for Internet Media Subtitles and Captions</a> (Member Submission, 07 June 2013)
+</dd><dt id="bib-namespaceState">[namespaceState]</dt><dd rel="dcterms:references">Norman Walsh. <a href="http://www.w3.org/TR/namespaceState/"><cite>The Disposition of Names in an XML Namespace</cite></a>. 29 March 2006. W3C Working Draft. URL: <a href="http://www.w3.org/TR/namespaceState/">http://www.w3.org/TR/namespaceState/</a>
+</dd><dt id="bib-ttml10-sdp-us">[ttml10-sdp-us]</dt><dd rel="dcterms:references">Glenn Adams; Monica Martin; Sean Hayes. <a href="http://www.w3.org/TR/ttml10-sdp-us/"><cite>TTML Simple Delivery Profile for Closed Captions (US)</cite></a>. 5 February 2013. W3C Note. URL: <a href="http://www.w3.org/TR/ttml10-sdp-us/">http://www.w3.org/TR/ttml10-sdp-us/</a>
</dd></dl></section></section></body></html>
\ No newline at end of file
--- a/ttml-ww-profiles/ttml-ww-profiles.source.html Mon Nov 03 10:46:23 2014 +0800
+++ b/ttml-ww-profiles/ttml-ww-profiles.source.html Wed Nov 05 16:01:42 2014 -0800
@@ -23,13 +23,12 @@
, edDraftURI: "https://dvcs.w3.org/hg/ttml/raw-file/tip/ttml-ww-profiles/ttml-ww-profiles.html"
, localBiblio: {
"SUBM": "World Wide Web Consortium (W3C). <a href='http://www.w3.org/Submission/2013/SUBM-ttml-ww-profiles-20130607/'>TTML Text and Image Profiles for Internet Media Subtitles and Captions</a> (Member Submission, 07 June 2013)",
- "TTML1": "Glenn Adams, Ed., <a href='http://www.w3.org/TR/ttml1/'><cite>Timed Text Markup Language 1 (TTML1) (Second Edition)</cite></a>, W3C Recommendation, 24 September 2013. URL: <a href='http://www.w3.org/TR/2013/REC-ttml1-20130924/'>http://www.w3.org/TR/2013/REC-ttml1-20130924/</a>",
"CEA-608": "<a href='http://www.ce.org/Standards/Standard-Listings/R4-3-Television-Data-Systems-Subcommittee/Line-21-Data-Service.aspx'>Line-21 Data Services</a>, ANSI/CEA Standard.",
"CEA-708": "<a href='http://www.ce.org/Standards/Standard-Listings/R4-3-Television-Data-Systems-Subcommittee/CEA-708-D.aspx'>Digital Television (DTV) Closed Captioning</a>, ANSI/CEA Standard.",
"MHP" : "ETSI TS 101 812 V1.3.1, Digital Video Broadcasting (DVB); Multimedia Home",
- "ST2052-1": "SMPTE ST 2052-1, Timed Text Format (SMPTE-TT)",
+ "ST2052-1": "SMPTE ST 2052-1, Timed Text Format (SMPTE-TT) URL: <a href='https://www.smpte.org/standards '>https://www.smpte.org/standards</a>",
"EBU-TT-D": "European Broadcasting Union (EBU). <a href='https://tech.ebu.ch/docs/tech/tech3380.pdf'>Tech 3380, EBU-TT-D Subtitling Distribution Format Version 1.0</a>",
- "SDPUS": "World Wide Web Consortium (W3C). <a href='http://www.w3.org/TR/ttml10-sdp-us/'>TTML Simple Delivery Profile for Closed Captions (US)</a> (W3C Working Group Note, 05 February 2013)",
+
"CLDR": "Unicode Consortium. <a href='http://cldr.unicode.org'>The Common Locale Data Repository Project</a>",
}
@@ -49,6 +48,10 @@
border-bottom-style: double;
border-bottom-color: #d3d3d3;
padding: 4px; margin: 0em }
+
+ .note {font-size:small}
+
+ .example {font-size: small}
</style>
</head>
@@ -57,9 +60,9 @@
<p>This document specifies two profiles of [[!TTML1]]: a text-only profile and an image-only profile. These profiles are
intended to be used across subtitle and caption delivery applications worldwide, thereby simplifying interoperability,
consistent rendering and conversion to other subtitling and captioning formats. The text profile is a superset of
- [[SDPUS]].</p>
-
- <p>The document defines extensions to [[!TTML1]], as well as incorporates extensions specified in [[!ST2052-1]] and
+ [[ttml10-sdp-us]].</p>
+
+ <p>The document defines extensions to [[!ttaf1-dfxp]], as well as incorporates extensions specified in [[!ST2052-1]] and
[[!EBU-TT-D]].</p>
<p>Both profiles are based on [[SUBM]].</p>
@@ -71,56 +74,69 @@
<section id='scope'>
<h2>Scope</h2>
- <p>This document specifies two profiles of [[!TTML1]]: a text-only profile and an image-only profile. These profiles are
+ <p>This document specifies two profiles of [[!ttaf1-dfxp]]: a text-only profile and an image-only profile. These profiles are
intended for subtitle and caption delivery worldwide, including dialog language translation, content description, captions for
deaf and hard of hearing, etc.</p>
- <p>The text-only profile is a strict superset of [[SDPUS]].</p>
-
- <p>The document defines extensions to [[!TTML1]], as well as incorporates extensions specified in [[!ST2052-1]] and
+ <p>The text-only profile is a strict superset of [[ttml10-sdp-us]].</p>
+
+ <p>The document defines extensions to [[!ttaf1-dfxp]], as well as incorporates extensions specified in [[!ST2052-1]] and
[[!EBU-TT-D]].</p>
</section>
+
+ <section id='conventions'>
+ <h2>Documentation Conventions</h2>
+
+ <p>This specification uses the same convention as [[!ttaf1-dfxp]] for the specification of parameter attributes, styling attributes and metadata elements.</p>
+
+ <p>All content of this specification that is not explicitly marked as non-normative is considered to be normative. If a section or appendix header contains the expression "non-normative", then the entirety of the section or appendix is considered non-normative.</p>
+ </section>
<section id='terms'>
<h2>Terms and Definitions</h2>
-
- <p><dfn>Presentation processor</dfn>. See Section 2.2 at [[!TTML1]].</p>
-
- <p><dfn>Transformation processor</dfn>. See Section 2.2 at [[!TTML1]].</p>
-
- <p><dfn>Intermediate synchronic document</dfn>. See Section 9.3.2 at [[!TTML1]].</p>
-
- <p><dfn>Related Media Object</dfn>. See Section 2.2 at [[!TTML1]].</p>
+
+ <p><dfn>Default Region</dfn>. See Section 9.3.1 at [[!ttaf1-dfxp]].</p>
+
+ <p><dfn>Document Instance</dfn>. See Section 2.2 at [[!ttaf1-dfxp]].</p>
+
+ <p><dfn>Intermediate synchronic document</dfn>. See Section 9.3.2 at [[!ttaf1-dfxp]].</p>
+
+ <p><dfn>Presentation processor</dfn>. See Section 2.2 at [[!ttaf1-dfxp]].</p>
+
+ <p><dfn>Transformation processor</dfn>. See Section 2.2 at [[!ttaf1-dfxp]].</p>
+
+ <p><dfn>Related Media Object</dfn>. See Section 2.2 at [[!ttaf1-dfxp]].</p>
+
</section>
<section id="conformance">
- <p>A subtitle document that conforms to a profile defined herein SHALL satisfy all normative provisions specified by the
+ <p>A <a>Document Instance</a> that conforms to a profile defined herein SHALL satisfy all normative provisions specified by the
profile.</p>
<p>A <a>presentation processor</a> that conforms to a profile defined in this specification SHALL:</p>
<ul>
- <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [[!TTML1]];</li>
+ <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [[!ttaf1-dfxp]];</li>
<li>satisfy all normative provisions specified by the profile; and</li>
- <li>be capable of presenting any subtitle document that conforms to the profile, i.e. if it implements all features and
+ <li>be capable of presenting any <a>Document Instance</a> that conforms to the profile, i.e. if it implements all features and
provisions of the profile.</li>
</ul>
<p>A <a>transformation processor</a> that conforms to a profile defined in this specification SHALL:</p>
<ul>
- <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [[!TTML1]];</li>
+ <li>satisfy the Generic Processor Conformance requirements at Section 3.2.1 of [[!ttaf1-dfxp]];</li>
<li>satisfy all normative provisions specified by the profile; and</li>
- <li>be capable of transforming any subtitle document that conforms to the profile, i.e. if it implements all features and
+ <li>be capable of transforming any <a>Document Instance</a> that conforms to the profile, i.e. if it implements all features and
provisions of the profile.</li>
</ul>
<p class='note'>The use of the term <a>presentation processor</a> (<a>transformation processor</a>) within this specification
- does not imply conformance to the DFXP Presentation Profile (DFXP Transformation Profile) specified in [[!TTML1]]. In other
+ does not imply conformance to the DFXP Presentation Profile (DFXP Transformation Profile) specified in [[!ttaf1-dfxp]]. In other
words, it is not considered an error for a <a>presentation processor</a> (<a>transformation processor</a>) to conform to a
profile defined in this specification without also conforming to the DFXP Presentation Profile (DFXP Transformation
Profile).</p>
@@ -132,13 +148,13 @@
<section>
<h3>General</h3>
- <p>A subtitle document SHALL NOT conform to the <a>Text Profile</a> and <a>Image Profile</a> simultaneously.</p>
+ <p>A <a>Document Instance</a> SHALL NOT conform to the <a>Text Profile</a> and <a>Image Profile</a> simultaneously.</p>
<p>In applications that require subtitle/caption content in image form to be simultaneously available in text form, two
- distinct subtitle documents, one conforming to the <a>Text Profile</a> and the other conforming to the <a>Image Profile</a>,
- SHOULD be offered. In addition, the <a>Text Profile</a> subtitle document SHOULD be associated with the <a>Image Profile</a>
- subtitle document such that, when image content is encountered, assistive technologies have access to its corresponding text
- form.</p>
+ distinct <a title="Document Instance">Document Instances</a>, one conforming to the <a>Text Profile</a> and the other conforming to the <a>Image Profile</a>,
+ SHOULD be offered. In addition, the <a>Text Profile</a> <a>Document Instance</a> SHOULD be associated with the <a>Image Profile</a>
+ <a>Document Instance</a> such that, when image content is encountered, assistive technologies have access to its corresponding text
+ form. The method by which this association is made is left to each application.</p>
<p class='note'>The <code>ittm:altText</code> element specified <a href='#ttm-altText'></a> also allows text equivalent
string to be associated with an image, e.g. to support indexation of the content and also facilitate quality checking of the
@@ -169,15 +185,14 @@
<section>
<h3>Document Encoding</h3>
- <p>A subtitle document SHALL use UTF-8 character encoding as specified in [[!UNICODE]].</p>
+ <p>A <a>Document Instance</a> SHALL use UTF-8 character encoding as specified in [[!UNICODE]].</p>
</section>
<section>
<h3>Foreign Element and Attributes</h3>
- <p>A subtitle document MAY contain elements and attributes that are neither specifically permitted nor forbidden by a
- profile. Such elements and attributes MAY be ignored by the <a>presentation processor</a> or <a>transformation
- processor</a>.</p>
+ <p>A <a>Document Instance</a> MAY contain elements and attributes that are neither specifically permitted nor forbidden by a
+ profile.</a>.</p>
</section>
<section>
@@ -216,7 +231,7 @@
<td>http://www.w3.org/ns/ttml#parameter</td>
- <td>[[!TTML1]]</td>
+ <td>[[!ttaf1-dfxp]]</td>
</tr>
<tr>
@@ -226,7 +241,7 @@
<td>http://www.w3.org/ns/ttml#styling</td>
- <td>[[!TTML1]]</td>
+ <td>[[!ttaf1-dfxp]]</td>
</tr>
<tr>
@@ -236,7 +251,7 @@
<td>http://www.w3.org/ns/ttml/feature/</td>
- <td>[[!TTML1]]</td>
+ <td>[[!ttaf1-dfxp]]</td>
</tr>
<tr>
@@ -321,35 +336,37 @@
</tbody>
</table>
- <p>The namespace prefix values defined above are for convenience and document instances may use any prefix value that
+ <p>The namespace prefix values defined above are for convenience and document instances MAY use any prefix value that
conforms to [[!xml-names]].</p>
+
+ <p>The namespaces defined by this specification are mutable [[namespaceState]]; all undefined names in these namespaces are reserved for future standardization by the W3C.</p>
</section>
<section>
<h3>Overflow</h3>
- <p>Subtitle documents should be authored assuming strict clipping of content that falls out of region areas, regardless of
+ <p>A <a>Document Instance</a> SHOULD be authored assuming strict clipping of content that falls out of region areas, regardless of
the computed value of <code>tts:overflow</code> for the region.</p>
- <p class="note">As specified in [[!TTML1]], <code>tts:overflow</code> has no effect on the extent of the region, and hence
+ <p class="note">As specified in [[!ttaf1-dfxp]], <code>tts:overflow</code> has no effect on the extent of the region, and hence
the total normalized drawing area S(En) at <a href='#paint-regions'></a>.</p>
</section>
<section>
<h3>Related Video Object</h3>
- <p>A subtitle document MAY be associated with a related video object, which SHALL consist of a sequence of image frames, each
+ <p>A <a>Document Instance</a> MAY be associated with a related video object, which SHALL consist of a sequence of image frames, each
a rectangular array of pixels, and SHALL be considered the <a>Related Media Object</a>.</p>
</section>
<section>
<h3>Synchronization</h3>
- <p>Each <a>intermediate synchronic document</a> of the subtitle document is intended to be displayed on a specific frame and
+ <p>Each <a>intermediate synchronic document</a> of the <a>Document Instance</a> is intended to be displayed on a specific frame and
removed on a specific frame of the related video object.</p>
<p>When mapping a media time expression M to a frame F of a related video object, e.g. for the purpose of rendering a
- subtitle document onto the related video object, the <a>presentation processor</a> SHALL map M to the frame F with the
+ <a>Document Instance</a> onto the related video object, the <a>presentation processor</a> SHALL map M to the frame F with the
presentation time that is the closest to, but not less, than M.</p>
<aside class="example">
@@ -357,7 +374,7 @@
object with a frame rate of 1000 / 1001 × 30 ≈ 29.97.
</aside>
- <p class="note">In typical scenario, the same video program (the related video object) will be used for subtitle document
+ <p class="note">In typical scenario, the same video program (the related video object) will be used for <a>Document Instance</a>
authoring, delivery and user playback. The mapping from media time expression to related video object above allows the author
to precisely associate subtitle video content with video frames, e.g. around scene transitions. In circumstances where the
video program is downsampled during delivery, the application can specify that, at playback, the relative video object be
@@ -401,7 +418,7 @@
</tbody>
</table>
- <p>The root container of a subtitle document SHALL be mapped to the related video object frame according to the
+ <p>The root container of a <a>Document Instance</a> SHALL be mapped to the related video object frame according to the
following:</p>
<ol>
@@ -422,7 +439,7 @@
</li>
<li>
- <p>Otherwise, the root container of a subtitle document SHALL be mapped to the related video object frame in its
+ <p>Otherwise, the root container of a <a>Document Instance</a> SHALL be mapped to the related video object frame in its
entirety. If <code>tts:extent</code> is present on the <code>tt</code> element, the extents of the root container SHALL
be equal to the dimensions of the related video object frame.</p>
</li>
@@ -432,6 +449,19 @@
<p>An <code>ittp:aspectRatio</code> attribute is considered to be significant only when specified on the <code>tt</code>
element.</p>
+
+<pre class='example'>
+<tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:aspectRatio="4 3"
+ >
+ ...
+</tt>
+</pre>
<p class='note'>As specified in Section <a href="#common-features"></a>, <code>tts:extent</code> is present if the
<code>px</code> length measure is used anywhere within the document.</p>
@@ -443,16 +473,16 @@
<section id='ttp-progressivelyDecodable'>
<h4>ittp:progressivelyDecodable</h4>
- <p>A <a>progressively decodable subtitle document</a> is structured to facilitate presentation before the document is
+ <p>A <a>progressively decodable Document Instance</a> is structured to facilitate presentation before the document is
received in its entirety, and can be identified using <code>ittp:progressivelyDecodable</code> attribute.</p>
- <p>A <dfn>progressively decodable subtitle document</dfn> is a subtitle document that conforms to the following:</p>
+ <p>A <dfn>progressively decodable Document Instance</dfn> is a <a>Document Instance</a> that conforms to the following:</p>
<ol>
<li>no attribute or element of the TTML timing vocabulary is present within the <code>head</code> element;</li>
<li>given two <a title="intermediate synchronic document">intermediate synchronic documents</a> <em>A</em> and <em>B</em>
- of the subtitle document, with start times <em>TA</em> and <em>TB</em>, respectively, <em>TA</em> is not greater than
+ of the <a>Document Instance</a>, with start times <em>TA</em> and <em>TB</em>, respectively, <em>TA</em> is not greater than
<em>TB</em> if <em>A</em> includes a <code>p</code> element that occurs earlier in the document than any <code>p</code>
element that <em>B</em> includes;
</li>
@@ -486,15 +516,28 @@
<p>If not specified, the value of <code>ittp:progressivelyDecodable</code> SHALL be considered to be equal to "false".</p>
- <p>A subtitle document for which the computed value of <code>ittp:progressivelyDecodable</code> is "true" SHALL be a
- <a>progressively decodable subtitle document</a>.</p>
-
- <p>A subtitle document for which the computed value of <code>ittp:progressivelyDecodable</code> is "false" is neither
- asserted to be a <a>progressively decodable subtitle document</a> nor asserted not to be a progressively decodable subtitle
+ <p>A <a>Document Instance</a> for which the computed value of <code>ittp:progressivelyDecodable</code> is "true" SHALL be a
+ <a>progressively decodable Document Instance</a>.</p>
+
+ <p>A <a>Document Instance</a> for which the computed value of <code>ittp:progressivelyDecodable</code> is "false" is neither
+ asserted to be a <a>progressively decodable Document Instance</a> nor asserted not to be a progressively decodable subtitle
document.</p>
+
+ <pre class='example'>
+<tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:progressivelyDecodable="true"
+ >
+ ...
+</tt>
+</pre>
<div class='note'>
- <p>[[!TTML1]] specifies explicitly referencing of elements identified using <code>xml:id</code> in the following
+ <p>[[!ttaf1-dfxp]] specifies explicitly referencing of elements identified using <code>xml:id</code> in the following
circumstances:</p>
<ul>
@@ -527,7 +570,7 @@
<p>If the value of <code>displayForcedOnlyMode</code> is "true", a content element with a <code>itts:forcedDisplay</code>
computed value of "false" SHALL NOT produce any visible rendering, but still affect layout, regardless of the computed
- value of <code>tts:visibility</code>.</p>
+ value of <code>tts:visibility</code>. All other combinations of <code>displayForcedOnlyMode</code> and <code>itts:forcedDisplay</code> values have no impact on presentation.</p>
<p>The <code>itts:forcedDisplay</code> attribute shall conform to the following:</p>
@@ -586,12 +629,30 @@
<code>displayForcedOnlyMode</code> SHALL be assumed to be equal to "false".</p>
<p>The algorithm for setting the <code>displayForcedOnlyMode</code> parameter based on the circumstances under which the
- subtitle document is presented is left to the application.</p>
-
- <p class='note'>The background of a region is drawn even if the computed value of <code>tts:visibility</code> equals
- "hidden" for all active content within. This can occur if <code>itts:forcedDisplay</code> equals "false" for all active
- content elements within a region for which <code>itts:forcedDisplay</code> equals "true", and
- <code>displayForcedOnlyMode</code> equals "true". Authors can avoid this situation, for instance, by ensuring that content
+ <a>Document Instance</a> is presented is left to the application.</p>
+
+ <pre class='example'>
+...
+<head>
+ ...
+ <region xml:id="r1" tts:color="white" itts:forcedDisplay="true" tts:backgroundColor="black"/>
+ <region xml:id="r2" tts:color="white" tts:backgroundColor="black"/>
+ ...
+</head>
+...
+<div>
+ <p region="r1" begin="1s" end="6s">Lycée</p>
+
+ <!-- the following will not appear only if displayForcedOnlyMode='true' -->
+ <p region="r2" begin="4s" end="6s">Nous étions inscrits au même lycée.</p>
+</div>
+...
+</pre>
+
+
+ <p class='note'>As specified in [[!ttaf1-dfxp]], the background of a region can be visible even if the computed value of <code>tts:visibility</code> equals
+ "hidden" for all active content within. The background of a region for which <code>itts:forcedDisplay</code> equals "true" can therefore remain visible even if <code>itts:forcedDisplay</code> equals "false" for all active
+ content elements within the region and <code>displayForcedOnlyMode</code> equals "true". Authors can avoid this situation, for instance, by ensuring that content
elements and the regions that they are flowed into always have the same value of <code>itts:forcedDisplay</code>.</p>
<p class='note'>Although <code>itts:forcedDisplay</code>, like all the TTML style attributes, has no defined semantics on a
@@ -631,12 +692,24 @@
</tr>
</tbody>
</table>
+
+ <p>The <code>ittm:altText</code> element SHALL be a child of the <code>metadata</code> element.</p>
<p><a href="#image-profile-constraints"></a> specifies the use of the <code>ittm:altText</code> element with images.</p>
+
+<pre class='example'>
+...
+<div region="r1" begin="1s" end="6s" smpte:backgroundImage="1.png">
+ <metadata>
+ <ittm:altText>Nous étions inscrits au même lycée.</ttm:title>
+ </metadata>
+</div>
+...
+</pre>
<p class='note'>In contrast to the common use of <code>alt</code> attributes in [[HTML5]], the <code>ittm:altText</code>
attribute content is not intended to be displayed in place of the element if the element is not loaded. The
- <code>ittm:altText</code> attribute content can however be read and used by assistive technologies. .</p>
+ <code>ittm:altText</code> attribute content can however be read and used by assistive technologies.</p>
</section>
</section>
@@ -690,7 +763,7 @@
<section id='common-features'>
<h3>Features</h3>
- <p>Unless specified otherwise,a subtitle document SHALL conform to the following:</p>
+ <p>Unless specified otherwise,a <a>Document Instance</a> SHALL conform to the following:</p>
<table class='simple'>
<tbody>
@@ -805,7 +878,7 @@
<tr>
<td><code>#length-cell</code></td>
- <td>SHALL NOT be used.</td>
+ <td>SHALL NOT be used other than to specify the value of <code>ebutts:linePadding</code>.</td>
</tr>
<tr>
@@ -1023,8 +1096,7 @@
<tr>
<td><code>#timing</code></td>
- <td>MAY be used. The same syntax of <code>#clock-time</code> or <code>#offset-time</code> SHOULD be used throughout the
- subtitle document.</td>
+ <td>MAY be used. A <a>Document Instance</a> SHOULD use either the <code>offset-time</code> or <code>offset-time</code> syntax for all time expressions used therein.</td>
</tr>
<tr>
@@ -1129,7 +1201,7 @@
</tbody>
</table>
- <p class='note'>As specified in [[!TTML1]], a <code>#time-offset-with-frames</code> expression is translated to a media time
+ <p class='note'>As specified in [[!ttaf1-dfxp]], a <code>#time-offset-with-frames</code> expression is translated to a media time
M according to M = 3600 · hours + 60 · minutes + seconds + (frames ÷ (<code>ttp:frameRateMultiplier</code> ·
<code>ttp:frameRate</code>)).</p>
</section>
@@ -1163,21 +1235,34 @@
<p class='note'>As specified in <a href="#common-features"></a>, the presence of the <code>ttp:profile</code> attribute is
not required by this profile. The profile designator specified above is intended to be generally used to signal conformance
- of a subtitle document to the profile. The details of such signaling depends on the application, and can, for instance, use
- metadata structures out-of-band of the subtitle document.</p>
+ of a <a>Document Instance</a> to the profile. The details of such signaling depends on the application, and can, for instance, use
+ metadata structures out-of-band of the <a>Document Instance</a>.</p>
</section>
<section>
<h3>Recommended Character Sets</h3>
- <p>Authors should select from the sets of characters specified in <a href=
+ <p>A <a>Document Instance</a> SHOULD be authored using characters selected from the sets specified in <a href=
"#recommended-unicode-code-points-per-language"></a>.</p>
</section>
-
+
+ <section>
+ <h3>Reference Fonts</h3>
+
+
+ <p>The flow of text within a region depends the dimensions and spacing (kerning) between individual glyphs. The following allows the region extent to be set such that text flows without clipping.</p>
+
+ <p>A <a>Document Instance</a> SHALL be authored such that glyphs that match the combinations of computed font family and code point listed in <a href="#reference-fonts"></a> are laid out using metrics equal to the metrics of the specified reference font, unless the glyph is not defined by the reference font.</p>
+
+ <p class="note">Implementations can use use fonts other than those specified in <a href="#reference-fonts"></a>. Two fonts with equal metrics can have a different appearance, but flow identically.</p>
+
+ </section>
+
+
<section>
<h3>Features</h3>
- <p>The subtitle document SHALL conform to the following table:</p>
+ <p>The <a>Document Instance</a> SHALL conform to the following table:</p>
<table class='simple'>
<tbody>
@@ -1237,7 +1322,7 @@
<tr>
<td><code>#displayAlign</code></td>
- <td>MAY be used. The initial value of <code>tts:displayAlign</code> SHALL be "after" for the default region. NOTE: This
+ <td>MAY be used. The initial value of <code>tts:displayAlign</code> SHALL be "after" for the <a>Default Region</a>. NOTE: This
is consistent with [[ST2052-1]].</td>
</tr>
@@ -1519,8 +1604,8 @@
<p class='note'>As specified in <a href="#common-features"></a>, the presence of the <code>ttp:profile</code> attribute is
not required by this profile. The profile designator specified above is intended to be generally used to signal conformance
- of a subtitle document to the profile. The details of such signaling depends on the application, and can, for instance, use
- metadata structures out-of-band of the subtitle document.</p>
+ of a <a>Document Instance</a> to the profile. The details of such signaling depends on the application, and can, for instance, use
+ metadata structures out-of-band of the <a>Document Instance</a>.</p>
</section>
<section>
@@ -1534,17 +1619,17 @@
</section>
<section>
- <h4>Number per Region</h4><!-- start CFF-TT 1.0.7 -->
+ <h4>Number per Region</h4>
<p>In a given synchronic document, there shall be at most one <a>presented image</a> per <a>presented region</a>.</p>
- <!-- end CFF-TT 1.0.7 -->
+
</section>
</section>
<section>
<h3><code>div</code> element</h3>
- <p>If a <code>smpte:backgroundImage</code> attribute is applied to a <code>div</code> element:</p>
+ <p>If a <code>smpte:backgroundImage</code> attribute is applied to a <code>div</code> element:
<ul>
<li>the width and height of the region extent associated with the <code>div</code> element SHALL be specified and SHALL be
@@ -1558,12 +1643,16 @@
as specified in Sections 7.1.1.3 and 15.1 of [[!MHP]]. If a pHYs chunk is present, it SHALL indicate square pixels. Note:
If no pixel aspect ratio is carried, the default of square pixels is assumed.<br></li>
</ul>
+
+ </p>
+
+ <p class='note'>In [[!ttaf1-dfxp]], <code>tts:extent</code> and <code>tts:origin</code> do not apply to <code>div</code> elements. In order to individually position multiple <code>div</code> elements, each <code>div</code> can be associated with a distinct <code>region</code> with the desired <code>tts:extent</code> and <code>tts:origin</code>.</p>
</section>
<section>
<h3>Features</h3>
- <p>The features included in a subtitle document SHALL conform to the Table below:</p>
+ <p>The features included in a <a>Document Instance</a> SHALL conform to the Table below:</p>
<table class='simple'>
<tbody>
@@ -1723,14 +1812,12 @@
<h2>Hypothetical Render Model</h2>
<section>
- <h3>Performance Model</h3>
-
- <section>
- <h4>Overview</h4>
+
+ <h3>Overview</h3>
<p>This Section specifies the Hypothetical Render Model illustrated in <a href="#fig-hypothetical-render-model"></a>.</p>
- <p>The purpose of the model is to limit subtitle document complexity. It is not intended as a specification of the
+ <p>The purpose of the model is to limit <a>Document Instance</a> complexity. It is not intended as a specification of the
processing requirements for implementations. For instance, while the model defines a glyph buffer for the purpose of
limiting the number of glyphs displayed at any given point in time, it neither requires the implementation of such a
buffer, nor models the sub-pixel character positioning and anti-aliased glyph rendering that can be used to produce text
@@ -1745,7 +1832,7 @@
</figure>
<p>The model operates on successive <a title="intermediate synchronic document">intermediate synchronic documents</a>
- obtained from an input subtitle document, and uses a simple double buffering model: while an <a>intermediate synchronic
+ obtained from an input <a>Document Instance</a>, and uses a simple double buffering model: while an <a>intermediate synchronic
document</a> E<sub>n</sub> is being painted into Presentation Buffer P<sub>n</sub> (the "front buffer" of the model), the
previous <a>intermediate synchronic document</a> E<sub>n-1</sub> is available for display in Presentation Buffer
P<sub>n-1</sub> (the "back buffer" of the model).</p>
@@ -1769,7 +1856,7 @@
</section>
<section>
- <h4>General</h4>
+ <h3>General</h3>
<p>The Presentation Compositor SHALL render in Presentation Buffer P<sub>n</sub> each successive intermediate synchronic
document E<sub>n</sub> using the following steps in order:</p>
@@ -1862,7 +1949,7 @@
</section>
<section id='paint-regions'>
- <h4>Paint Regions</h4>
+ <h3>Paint Regions</h3>
<p>The total normalized drawing area S(E<sub>n</sub>) for <a>intermediate synchronic document</a> E<sub>n</sub> SHALL
be</p>
@@ -1901,12 +1988,12 @@
<li>It is specified on the <code>region</code> layout element that defines the region.</li>
<li>It is specified on a <code>div</code>, <code>p</code>, <code>span</code> or <code>br</code> content element that is
- to be flowed into the region for presentation in the <a>intermediate synchronic document</a> (see [[!TTML1]] for more
+ to be flowed into the region for presentation in the <a>intermediate synchronic document</a> (see [[!ttaf1-dfxp]] for more
details on when a content element is followed into a region).
</li>
<li>It is specified on a <code>set</code> animation element that is to be applied to content elements that are to be
- flowed into the region for presentation in the <a>intermediate synchronic document</a> (see [[!TTML1]] for more details
+ flowed into the region for presentation in the <a>intermediate synchronic document</a> (see [[!ttaf1-dfxp]] for more details
on when a <code>set</code> animation element is applied to content elements).
</li>
</ul>
@@ -1917,7 +2004,7 @@
</section>
<section id='paint-images'>
- <h4>Paint Images</h4>
+ <h3>Paint Images</h3>
<p>The Presentation Compositor SHALL paint into the Presentation Buffer P<sub>n</sub> all visible pixels of presented
images of <a>intermediate synchronic document</a> E<sub>n</sub>.</p>
@@ -1961,7 +2048,7 @@
<p>NRGA(I<sub>i</sub>) is the Normalized Image Area of <a>presented image</a> I<sub>i</sub> and SHALL be equal to:</p>
- <p>NRGA(I<sub>i</sub>)= (width of I<sub>i</sub> ) ∙ height of I<sub>i</sub> ) ÷ ( root container height ∙ root
+ <p>NRGA(I<sub>i</sub>)= (width of I<sub>i</sub> ∙ height of I<sub>i</sub> ) ÷ ( root container height ∙ root
container width )</p>
<p>NSIZ(I<sub>i</sub>) SHALL be the number of pixels of <a>presented image</a> I<sub>i</sub>.</p>
@@ -2009,7 +2096,7 @@
</section>
<section id='paint-text'>
- <h4>Paint Text</h4>
+ <h3>Paint Text</h3>
<p>For each glyph displayed in <a>intermediate synchronic document</a> E<sub>n</sub>, the Presentation Compositor
SHALL:</p>
@@ -2026,7 +2113,7 @@
G<sub>n</sub> using the corresponding style information.</li>
</ul>
- <p>Two glyphs are identical if and only if the following [[!TTML1]] styles are identical:</p>
+ <p>Two glyphs are identical if and only if the following [[!ttaf1-dfxp]] styles are identical:</p>
<ul>
<li><code>tts:color</code></li>
@@ -2158,18 +2245,13 @@
fontSize of 108 px (10% of 1080 px and NRGA(G<sub>i</sub>) = 0.01) could be rendered every second.
</aside>
</section>
- </section><!-- start CFF-TT 1.0.7 -->
-
- <section>
- <h3>Reference Fonts</h3>
-
- <p>The height and width of the area occupied by text within a region depend on line height as well as the width of, and
- spacing between (kerning), individual glyphs. The following allows the area occupied by text to be closely determined, and
- thus the region extent to be set such that text flows without clipping.</p>
-
- <p>A glyph that matches one of the combinations of computed font family and code point listed in the table below SHALL be
- laid out using metrics equal to the metrics of the specified reference font, unless the glyph is not defined by the reference
- font.</p>
+ </section>
+</section>
+
+ <section class='appendix' id="reference-fonts">
+ <h2>Reference Fonts</h2>
+
+
<table class='simple'>
<thead>
@@ -2216,12 +2298,9 @@
</tbody>
</table>
- <p class="note">Implementations can use use fonts other than those specified above. Two fonts with equal metrics can have a
- different appearance, but flow identically.</p>
-
<p class="note">proportionalSansSerif is not used in practice for Hebrew and Arabic captions and subtitles.</p>
</section>
- </section>
+
<section class='appendix' id='recommended-unicode-code-points-per-language'>
<h2>Recommended Character Sets</h2>
@@ -2230,7 +2309,7 @@
using <code>xml:lang</code>. The idea is to increase the confidence that the text will be presented correctly by
implementations targeting specific locales.</p>
- <p>Specifically, for a given language, an author should choose characters from the set resulting from the union of the
+ <p>Specifically, for a given language, an author SHOULD choose characters from the set resulting from the union of the
following sets:</p>
<ul>
@@ -2243,7 +2322,7 @@
<li>supplementary characters specified for the language in Table 2, if any</li>
</ul>
- <p>Some of these sets may overlap.</p>
+ <p>Some of these sets MAY overlap.</p>
<p>Table 1 captures the set of characters intended to be available to authors across all languages. The terms used in the table
are defined in [[!UNICODE]].</p>
@@ -2595,12 +2674,12 @@
<p>Guideline 1.1 of [[!WCAG20]] recommends that an implementation provide text alternatives for all non-text content. In the
context of this specification, this text alternative is intended primarily to support users of the subtitles who cannot see
- images. Since the images of an <a>Image Profile</a> subtitle document usually represent subtitle or caption text, the
+ images. Since the images of an <a>Image Profile</a> <a>Document Instance</a> usually represent subtitle or caption text, the
guidelines for authoring text equivalent strings given at <span class='sec-no'>Images of text</span> of [[HTML5]] are
appropriate.</p>
- <p>Thus, for each subtitle in an <a>Image Profile</a> subtitle document, a text equivalent content in a <a>Text Profile</a>
- subtitle document SHOULD be written so that it conveys all essential content and fulfills the same function as the
+ <p>Thus, for each subtitle in an <a>Image Profile</a> <a>Document Instance</a>, a text equivalent content in a <a>Text Profile</a>
+ <a>Document Instance</a> SHOULD be written so that it conveys all essential content and fulfills the same function as the
corresponding subtitle image. In the context of subtitling and captioning, this content will be (as a minimum) the verbatim
equivalent of the image without précis or summarization. However, the author MAY include extra information to the text
equivalent string in cases where styling is applied to the text image with a deliberate connotation, as a <em>functional</em>
@@ -2608,8 +2687,8 @@
<p>For instance, in subtitling and captioning, italics can be used to indicate an off screen speaker context (for example a
voice from a radio). An author can choose to include this functional information in the text equivalent; for example, by
- including the word "Radio: " before the image equivalent text. It should also be noted that images in an <a>Image Profile</a>
- subtitle document that are intended for use as <em>captions</em>, i.e. intended for a hard of hearing audience, might already
+ including the word "Radio: " before the image equivalent text. Note that images in an <a>Image Profile</a>
+ <a>Document Instance</a> that are intended for use as <em>captions</em>, i.e. intended for a hard of hearing audience, might already
include this functional information in the rendered text.</p>
<p>Guideline 1.1 of [[!WCAG20]] also recommends that accessible text alternatives must be "programmatically determinable." This
@@ -2617,6 +2696,63 @@
that people with disabilities use. It also means that the user must be able to use their assistive technology to find the
alternative text (that they can use) when they land on the non-text content (that they can't use).</p>
</section>
+
+ <section class='appendix' id='sample-instance'>
+ <h2>Sample Document Instance (non-normative)</h2>
+
+ <p>The following sample <a title='Document Instance'>Document Instances</a> conforms to the Text and Image Profiles, respectively. These samples are for illustration only, and are neither intended to capture current or future practice, nor exercise all normative prose contained in this specification.</p>
+
+<pre class='example'>
+<?xml version="1.0" encoding="UTF-8"?>
+<tt
+ xml:lang="en" xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter"
+ ittp:aspectRatio="4 3">
+
+ <head>
+ <layout>
+ <region xml:id="area1" tts:origin="10% 10%" tts:extent="80% 10%" tts:backgroundColor="black" tts:displayAlign="center" tts:color="red"/>
+ </layout>
+ </head>
+ <body>
+ <div>
+ <p region="area1" begin="0s" end="6s">Lorem ipsum dolor sit amet.</p>
+ </div>
+ </body>
+</tt>
+</pre>
+
+
+<pre class='example'>
+<?xml version="1.0" encoding="UTF-8"?>
+<tt
+ xmlns="http://www.w3.org/ns/ttml"
+ xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
+ xmlns:tts="http://www.w3.org/ns/ttml#styling"
+ xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
+ xmlns:smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt"
+ xmlns:itts="http://www.w3.org/ns/ttml/profile/imsc1#styling"
+ tts:extent="640px 480px"
+ ttp:frameRate="25"
+ xml:lang="fr">
+
+ <head>
+ <layout>
+ <region xml:id="region1" tts:origin="120px 410px" tts:extent="240px 40px" tts:showBackground="whenActive"/>
+ <region xml:id="region2" tts:origin="120px 20px" tts:extent="240px 40px" tts:showBackground="whenActive"/>
+ </layout>
+ </head>
+ <body>
+ <div region="region1" begin="00:00:01:00" end="00:00:02:00" smpte:backgroundImage="1.png"/>
+ <div region="region1" begin="00:00:03:20" end="00:00:04:12" smpte:backgroundImage="2.png"/>
+ <div region="region2" itts:forcedDisplay="true" begin="00:00:03:20" end="00:00:04:12" smpte:backgroundImage="3.png"/>
+ </body>
+</tt>
+</pre>
+ </section>
<section class='appendix' id='features-and-extensions'>
<h2>Extensions</h2>