[ttml2] add editorial notes, issues; add 'end' value for tts:rubyAlign
authorGlenn Adams <glenn@skynav.com>
Mon, 06 Apr 2015 13:40:02 -0600
changeset 905 3be0c2687442
parent 904 0e65be56b077
child 906 7c3266c7f96c
[ttml2] add editorial notes, issues; add 'end' value for tts:rubyAlign
ttml2/spec/rnc/schema.zip
ttml2/spec/rnc/ttml2-datatypes.rnc
ttml2/spec/rnc/ttml2-styling-attribs.rnc
ttml2/spec/ttml2.xml
ttml2/spec/xsd/schema.zip
ttml2/spec/xsd/ttml2-datatypes.xsd
ttml2/spec/xsd/ttml2-styling-attribs.xsd
Binary file ttml2/spec/rnc/schema.zip has changed
--- a/ttml2/spec/rnc/ttml2-datatypes.rnc	Mon Mar 30 08:31:39 2015 -0700
+++ b/ttml2/spec/rnc/ttml2-datatypes.rnc	Mon Apr 06 13:40:02 2015 -0600
@@ -134,10 +134,8 @@
   "italic" |
   "oblique"
 
-TTAF.FontVariantPosition.datatype =
-  "normal" |
-  "sub" |
-  "super"
+TTAF.FontVariant.datatype =
+  string
 
 TTAF.FontWeight.datatype =
   "normal" |
--- a/ttml2/spec/rnc/ttml2-styling-attribs.rnc	Mon Mar 30 08:31:39 2015 -0700
+++ b/ttml2/spec/rnc/ttml2-styling-attribs.rnc	Mon Apr 06 13:40:02 2015 -0600
@@ -42,8 +42,8 @@
   = attribute tts:fontShear { TTAF.FontShear.datatype }?
 TTAF.fontStyle.attrib
   = attribute tts:fontStyle { TTAF.FontStyle.datatype }?
-TTAF.fontVariantPosition.attrib
-  = attribute tts:fontVariantPosition { TTAF.FontVariantPosition.datatype }?
+TTAF.fontVariant.attrib
+  = attribute tts:fontVariant { TTAF.FontVariant.datatype }?
 TTAF.fontWeight.attrib
   = attribute tts:fontWeight { TTAF.FontWeight.datatype }?
 TTAF.ipd.attrib
@@ -122,7 +122,7 @@
   TTAF.fontShear.attrib,
   TTAF.fontSize.attrib,
   TTAF.fontStyle.attrib,
-  TTAF.fontVariantPosition.attrib,
+  TTAF.fontVariant.attrib,
   TTAF.fontWeight.attrib,
   TTAF.ipd.attrib,
   TTAF.letterSpacing.attrib,
--- a/ttml2/spec/ttml2.xml	Mon Mar 30 08:31:39 2015 -0700
+++ b/ttml2/spec/ttml2.xml	Mon Apr 06 13:40:02 2015 -0600
@@ -1865,7 +1865,7 @@
 value of each attribute satisfies the type declared by the
 associated <loc href="#terms-abstract-document-type">abstract document type</loc>.</p>
 <issue id="issue-362">
-<head>Attribute Forward Compabitility</head>
+<head>Attribute Forward Compatibility</head>
 <source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/362">http://www.w3.org/AudioVideo/TT/tracker/issues/362</loc></source>
 <p>Enhance step (3) to handle forward compatibility of new attributes introduced into TT namespaces.</p>
 </issue>
@@ -7461,6 +7461,12 @@
 <source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/302">http://www.w3.org/AudioVideo/TT/tracker/issues/302</loc></source>
 <p>Fix definition of block progression dimension of background area of a line area. Neither XSL-FO nor CSS are sufficiently precise.</p>
 </issue>
+<p></p>
+<issue id="issue-380">
+<head>Paragraph Background Width</head>
+<source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/380">http://www.w3.org/AudioVideo/TT/tracker/issues/380</loc></source>
+<p>Improve specificity of background color width determination.</p>
+</issue>
 <p>This attribute may be specified by any
 element type
 that permits use of attributes in the TT Style Namespace; however, this attribute applies
@@ -8950,6 +8956,12 @@
 </tr>
 </tbody>
 </table>
+<p></p>
+<issue id="issue-379a">
+<head>Ruby Text Size Inheritance</head>
+<source><loc href="https://www.w3.org/AudioVideo/TT/tracker/issues/379">https://www.w3.org/AudioVideo/TT/tracker/issues/379</loc></source>
+<p>Special treatment is needed for inheritance of font size on ruby annotation text.</p>
+</issue>
 <p>If a single <loc href="#style-value-length">&lt;length&gt;</loc> value is specified, then this length applies
 equally to horizontal and vertical scaling of a glyph's EM square; if two
 <loc href="#style-value-length">&lt;length&gt;</loc> values are specified, then the first expresses the horizontal
@@ -9131,6 +9143,11 @@
 <head>tts:fontVariantPosition</head>
 <p>The <att>tts:fontVariantPosition</att> attribute is used to enable the selection
 of typographic subscript and superscript glyphs.</p>
+<issue id="issue-374">
+<head>Generalize Font Variation</head>
+<source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/374">http://www.w3.org/AudioVideo/TT/tracker/issues/374</loc></source>
+<p>Rename tts:fontVariantPosition to tts:fontVariant and introduce width and ruby variation.</p>
+</issue>
 <p>This attribute may be specified by any
 element type
 that permits use of attributes in the TT Style Namespace; however, this attribute applies
@@ -9448,6 +9465,12 @@
 <source><loc href="https://www.w3.org/AudioVideo/TT/tracker/issues/284">https://www.w3.org/AudioVideo/TT/tracker/issues/284</loc></source>
 <p>Re-visit choice of 120% versus 125% for multiplier used in interpreting <code>normal</code> line height.</p>
 </issue>
+<p></p>
+<issue id="issue-373">
+<head>Line Height Applies to Span</head>
+<source><loc href="https://www.w3.org/AudioVideo/TT/tracker/issues/373">https://www.w3.org/AudioVideo/TT/tracker/issues/373</loc></source>
+<p>Support for ruby requires use of tts:lineHeight on span.</p>
+</issue>
 <p>This attribute may be specified by any
 element type
 that permits use of attributes in the TT Style Namespace; however, this attribute applies
@@ -9487,6 +9510,12 @@
 </tr>
 </tbody>
 </table>
+<p></p>
+<issue id="issue-379b">
+<head>Ruby Text Size Inheritance</head>
+<source><loc href="https://www.w3.org/AudioVideo/TT/tracker/issues/379">https://www.w3.org/AudioVideo/TT/tracker/issues/379</loc></source>
+<p>Special treatment is needed for inheritance of line height on ruby annotation text.</p>
+</issue>
 <p>If the value of this attribute is <code>normal</code>, then the
 computed value of this style property is determined as follows:</p>
 <olist>
@@ -10299,6 +10328,33 @@
 </tbody>
 </table>
 <p>When using <att>tts:ruby</att>, the following nesting constraints apply:</p>
+<ednote>
+<name>Proscribe Non-Ruby Span Children in Container</name>
+<date>2015-02-18</date>
+<edtext>Add constraints to proscribe use of span children of container that do not specify a ruby style, i.e., that
+do not play a role in ruby structure.  If used, then such span is ignored for presentation purposes.</edtext>
+</ednote>
+<p></p>
+<ednote>
+<name>Proscribe Extraneous #PCDATA in Container</name>
+<date>2015-02-18</date>
+<edtext>Add constraints to proscribe #PCDATA node children of container, baseContainer, and textContainer; i.e., permit #PCDATA only
+in base, text, and delimiter. If used, then such data is ignored for presentation purposes.</edtext>
+</ednote>
+<p></p>
+<ednote>
+<name>Proscribe Break Element in Container</name>
+<date>2015-02-18</date>
+<edtext>Add constraint to proscribe use of <el>br</el> element in ruby or its descendants, and, if used, is interpreted as normal
+(collapsible) whitespace.</edtext>
+</ednote>
+<p></p>
+<ednote>
+<name>Proscribe Line Separator and Paragraph Separator Characters in Container</name>
+<date>2015-02-18</date>
+<edtext>Add constraint to proscribe use of U+2028 (LINE SEPARATOR) and U+2029 (PARAGRAPH SEPARATOR) in ruby or its descendants, and, if used, they are
+interpreted as normal (collapsible) whitespace.</edtext>
+</ednote>
 <ulist>
 <item><p>if the computed value of <att>tts:ruby</att> is <code>container</code>, then the
 computed value of <att>tts:ruby</att> of all ancestor elements is <code>none</code>;</p></item>
@@ -10527,6 +10583,7 @@
 <td>
 <code>start</code> |
 <code>center</code> |
+<code>end</code> |
 <code>spaceBetween</code> |
 <code>spaceAround</code>
 </td>
@@ -10560,6 +10617,8 @@
 or ruby text annotation is aligned to the start edge of that inline area.
 If the value is <code>center</code>, then excess whitespace
 is equally distributed before and after the first and last glyphs, respectively.
+If the value of this attribute is <code>end</code>, then the end edge of the first glyph area descendant of an inline area generated from a ruby text container
+or ruby text annotation is aligned to the end edge of that inline area.
 If the value is <code>spaceBetween</code>, then excess whitespace
 is equally distributed between each glyph area descendant.
 If the value is <code>spaceAround</code>, then excess whitespace
@@ -10830,6 +10889,11 @@
 <p>The <att>tts:textAlign</att> attribute is used to specify a style property that
 defines how inline areas are aligned within a containing block area in the inline progression
 direction.</p>
+<ednote>
+<name>Justification in Inline Progression Dimension</name>
+<date>2015-04-06</date>
+<edtext>Add <code>justify</code> value to support justification in inline progression dimension.</edtext>
+</ednote>
 <p>This attribute may be specified by any
 element type
 that permits use of attributes in the TT Style Namespace; however, this attribute applies
@@ -14463,6 +14527,12 @@
 <gitem id="procedure-construct-intermediate-document">
 <label>[construct intermediate document]</label>
 <def>
+<p></p>
+<issue id="issue-368">
+<head>ISD Construction Prunes &lt;br/&gt; Erroneously</head>
+<source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/368">http://www.w3.org/AudioVideo/TT/tracker/issues/368</loc></source>
+<p>Should not prune empty break &lt;br/&gt; elements, or should previously convert to LINE SEPARATOR.</p>
+</issue>
 <olist>
 <item>
 <p>perform procedure <phrase role="strong"><loc href="#procedure-process-inline-regions">[process inline regions]</loc></phrase>;</p>
@@ -14505,7 +14575,7 @@
 <def>
 <p></p>
 <issue id="issue-341">
-<head>Multiple Descendant Region Ambiguitty</head>
+<head>Multiple Descendant Region Ambiguity</head>
 <source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/341">http://www.w3.org/AudioVideo/TT/tracker/issues/341</loc></source>
 <p>Refine step (3) to resolve ambiguity when multiple regions are referenced by descendants.</p>
 </issue>
@@ -20406,6 +20476,17 @@
 </inform-div1>
 <inform-div1 id="requirements">
 <head>Requirements</head>
+<issue id="issue-369">
+<head>Requirement Numbers</head>
+<source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/369">http://www.w3.org/AudioVideo/TT/tracker/issues/369</loc></source>
+<p>Some R### numbers are incorrect.</p>
+</issue>
+<p></p>
+<issue id="issue-370">
+<head>Review Requirements</head>
+<source><loc href="http://www.w3.org/AudioVideo/TT/tracker/issues/370">http://www.w3.org/AudioVideo/TT/tracker/issues/370</loc></source>
+<p>Update requirements satisfaction to reflect functional enhancements that address prior unsatisfied requirements.</p>
+</issue>
 <p>The Timed Text Markup Language (TTML), also known as the Distribution Format Exchange Profile (DFXP) of the Timed Text Authoring
 Format (TTAF), satisfies a subset of the requirements established by
 <bibref ref="ttaf1-req"/>. The following table enumerates these requirements and
Binary file ttml2/spec/xsd/schema.zip has changed
--- a/ttml2/spec/xsd/ttml2-datatypes.xsd	Mon Mar 30 08:31:39 2015 -0700
+++ b/ttml2/spec/xsd/ttml2-datatypes.xsd	Mon Apr 06 13:40:02 2015 -0600
@@ -118,6 +118,7 @@
       <xs:enumeration value="before"/>
       <xs:enumeration value="center"/>
       <xs:enumeration value="after"/>
+      <xs:enumeration value="justify"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="dropMode">
@@ -195,12 +196,11 @@
       <xs:enumeration value="oblique"/>
     </xs:restriction>
   </xs:simpleType>
-  <xs:simpleType name="fontVariantPosition">
-    <xs:restriction base="xs:token">
-      <xs:enumeration value="normal"/>
-      <xs:enumeration value="sub"/>
-      <xs:enumeration value="super"/>
-    </xs:restriction>
+  <xs:simpleType name="fontVariant">
+    <xs:annotation>
+      <xs:documentation>normal | [ super | sub ] || [ full | half ] || ruby</xs:documentation>
+    </xs:annotation>
+    <xs:restriction base="xs:string"/>
   </xs:simpleType>
   <xs:simpleType name="fontWeight">
     <xs:restriction base="xs:token">
@@ -519,6 +519,7 @@
     <xs:restriction base="xs:token">
       <xs:enumeration value="start"/>
       <xs:enumeration value="center"/>
+      <xs:enumeration value="end"/>
       <xs:enumeration value="spaceBetween"/>
       <xs:enumeration value="spaceAround"/>
     </xs:restriction>
@@ -531,9 +532,10 @@
   </xs:simpleType>
   <xs:simpleType name="rubyPosition">
     <xs:restriction base="xs:token">
+      <xs:enumeration value="auto"/>
       <xs:enumeration value="before"/>
       <xs:enumeration value="after"/>
-      <xs:enumeration value="interCharacter"/>
+      <xs:enumeration value="outside"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="showBackground">
@@ -560,6 +562,7 @@
       <xs:enumeration value="right"/>
       <xs:enumeration value="start"/>
       <xs:enumeration value="end"/>
+      <xs:enumeration value="justify"/>
     </xs:restriction>
   </xs:simpleType>
   <xs:simpleType name="textCombine">
--- a/ttml2/spec/xsd/ttml2-styling-attribs.xsd	Mon Mar 30 08:31:39 2015 -0700
+++ b/ttml2/spec/xsd/ttml2-styling-attribs.xsd	Mon Apr 06 13:40:02 2015 -0600
@@ -22,7 +22,7 @@
   <xs:attribute name="fontShear" type="ttd:fontShear"/>
   <xs:attribute name="fontSize" type="ttd:fontSize"/>
   <xs:attribute name="fontStyle" type="ttd:fontStyle"/>
-  <xs:attribute name="fontVariantPosition" type="ttd:fontVariantPosition"/>
+  <xs:attribute name="fontVariant" type="ttd:fontVariant"/>
   <xs:attribute name="fontWeight" type="ttd:fontWeight"/>
   <xs:attribute name="ipd" type="ttd:measure"/>
   <xs:attribute name="letterSpacing" type="ttd:letterSpacing"/>
@@ -67,7 +67,7 @@
     <xs:attribute ref="tts:fontShear"/>
     <xs:attribute ref="tts:fontSize"/>
     <xs:attribute ref="tts:fontStyle"/>
-    <xs:attribute ref="tts:fontVariantPosition"/>
+    <xs:attribute ref="tts:fontVariant"/>
     <xs:attribute ref="tts:fontWeight"/>
     <xs:attribute ref="tts:ipd"/>
     <xs:attribute ref="tts:letterSpacing"/>