[ttml11] implement change proposal 1 (set element styling), excluding targetElement attribute
authorGlenn Adams <glenn@skynav.com>
Wed, 10 Jul 2013 16:12:59 -0600
changeset 438 279ec08e91d9
parent 437 3d71cd201476
child 439 2e99727e19e6
[ttml11] implement change proposal 1 (set element styling), excluding targetElement attribute
ttml11/spec/rnc/schema.zip
ttml11/spec/rnc/ttml11-animation.rnc
ttml11/spec/ttml-changes.html
ttml11/spec/ttml11.xml
ttml11/spec/xsd/schema.zip
ttml11/spec/xsd/ttml11-animation.xsd
Binary file ttml11/spec/rnc/schema.zip has changed
--- a/ttml11/spec/rnc/ttml11-animation.rnc	Wed Jul 10 14:54:48 2013 -0600
+++ b/ttml11/spec/rnc/ttml11-animation.rnc	Wed Jul 10 16:12:59 2013 -0600
@@ -11,9 +11,8 @@
 
 TTAF.set.attlist &=
   TTAF.Core.attrib.class,
-  TTAF.Timed.attrib.class,
-  (TTAF.Styling.attrib.class |
-   TTAF.Styling.ForeignExtension.attrib+ )
+  TTAF.Styled.attrib.class,
+  TTAF.Timed.attrib.class
 
 TTAF.set.content.extra = empty
 TTAF.set.content =
--- a/ttml11/spec/ttml-changes.html	Wed Jul 10 14:54:48 2013 -0600
+++ b/ttml11/spec/ttml-changes.html	Wed Jul 10 16:12:59 2013 -0600
@@ -39,6 +39,12 @@
   including normative processing semantics.
 * In 6.1.5, add 'prohibited' value to 'value' attribute of ttp:extension element,
   including normative processing semantics.
+* In 8.2.1, add 'set' element to enumeration of element types to which 'style'
+  attribute applies.
+* In 8.4.4, add semantics for determining specified style set and computed style set
+  for 'set' element.
+* In 11.1.1, add 'style' attribute to 'set' element.
+* In 11.1.1, permit multiple attributes from TT Style Namespace on 'set' element.
 * In Appendix C, remove contents for mediate type registration, since registration
   has (will have) already occurred (by the time TTML11 goes to FPWD).
 * In Appendix O, change appendix designation to normative, effectively changing
--- a/ttml11/spec/ttml11.xml	Wed Jul 10 14:54:48 2013 -0600
+++ b/ttml11/spec/ttml11.xml	Wed Jul 10 16:12:59 2013 -0600
@@ -3518,6 +3518,7 @@
 <item><p><loc href="#content-vocabulary-div"><el>div</el></loc></p></item>
 <item><p><loc href="#content-vocabulary-p"><el>p</el></loc></p></item>
 <item><p><loc href="#layout-vocabulary-region"><el>region</el></loc></p></item>
+<item><p><loc href="#animation-vocabulary-set"><el>set</el></loc></p></item>
 <item><p><loc href="#content-vocabulary-span"><el>span</el></loc></p></item>
 <item><p><loc href="#styling-vocabulary-style"><el>style</el></loc></p></item>
 </ulist>
@@ -7017,15 +7018,17 @@
 attribute of <emph>E</emph>,
 merge <emph>P</emph> into the specified style
 set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
-<item><p><phrase role="strong">[animation styling]</phrase> for each
-style property <emph>P</emph> expressed as a specified styling
-attribute of an immediate animation (<el>set</el>) element child of element <emph>E</emph>,
-merge <emph>P</emph> into the specified style
-set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
+<item><p><phrase role="strong">[animation styling]</phrase> if the
+element type of <emph>E</emph> is not the animation element type
+<el>set</el>, then for each
+immediate animation (<el>set</el>) element child <emph>A</emph> of element <emph>E</emph>,
+merge the specified style set of <emph>A</emph>,
+<emph>SSS(A)</emph>, into the specified style set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
 <item>
 <p><phrase role="strong">[implicit inheritance]</phrase> if the
-element type of <emph>E</emph> is not the styling element type
-<el>style</el>, then for each inheritable style property
+element type of <emph>E</emph> is not the animation element type <el>set</el>
+or the styling element type <el>style</el>,
+then for each inheritable style property
 <emph>P<sub>INH</sub></emph> in the set of style properties defined
 above in <specref ref="styling-attribute-vocabulary"/>, perform the
 following ordered sub-steps:</p>
@@ -7066,7 +7069,7 @@
 initialize <emph>CSS(E)</emph> to a (deep) copy of
 <emph>SSS(E)</emph>;</p></item>
 <item><p><phrase role="strong">[filter]</phrase> if
-<emph>E</emph> is a <el>style</el> element, then return
+<emph>E</emph> is a <el>set</el> or <el>style</el> element, then return
 <emph>CSS(E)</emph> as the resulting computed style set without
 further resolution; otherwise, continue with the next rule;</p></item>
 <item>
@@ -7083,13 +7086,13 @@
 </olist>
 <note role="explanation">
 <p>As a result of the filtering rule above, the computed style set of
-a <el>style</el> element includes only specified values, in which case
+a <el>set</el> or <el>style</el> element includes only specified values, in which case
 relative value expressions remain relative; consequently, the
 resolution of relative value expressions (that may be assigned by
 means of referential style association) always takes place in the
 context of a layout or content element which has a presentation
 context, and not in the non-presentation, declaration context
-of a referentiable <el>style</el> element.</p>
+of a <el>set</el> element or a referentiable <el>style</el> element.</p>
 </note>
 </div4>
 <div4 id="semantics-style-resolution-process-overall">
@@ -7102,7 +7105,8 @@
 <olist>
 <item><p><phrase role="strong">[filter]</phrase> if the element type
 of <emph>E</emph> is not the styling element type <el>style</el>, is
-not the layout element type <el>region</el>, and is not one of the
+not the layout element type <el>region</el>, is not the animation
+element type <el>set</el>, and is not one of the
 content element types <el>body</el>, <el>div</el>, <el>p</el>,
 <el>span</el>, <el>br</el>, or anonymous span, then continue to the
 next element in the preorder traversal;</p></item>
@@ -8020,10 +8024,11 @@
   <loc href="#timing-attribute-begin">begin</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
   <loc href="#timing-attribute-dur">dur</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
   <loc href="#timing-attribute-end">end</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
+  <loc href="#style-attribute-style">style</loc> = IDREFS
   <loc href="#content-attribute-id">xml:id</loc> = ID
   <loc href="#content-attribute-lang">xml:lang</loc> = string
   <loc href="#content-attribute-space">xml:space</loc> = (<emph>default</emph>|<emph>preserve</emph>)
-  {<emph>a single attribute in TT Style namespace</emph>}
+  {<emph>any attribute in TT Style namespace</emph>}
   {<emph>any attribute not in default or any TT namespace</emph>}&gt;
   <emph>Content:</emph> <loc href="#element-vocab-group-table">Metadata.class</loc>*
 &lt;/set&gt;
Binary file ttml11/spec/xsd/schema.zip has changed
--- a/ttml11/spec/xsd/ttml11-animation.xsd	Wed Jul 10 14:54:48 2013 -0600
+++ b/ttml11/spec/xsd/ttml11-animation.xsd	Wed Jul 10 16:12:59 2013 -0600
@@ -11,7 +11,7 @@
   <xs:attributeGroup name="set.attlist">
     <xs:attributeGroup ref="tt:Core.attrib.class" />
     <xs:attributeGroup ref="tt:Timed.attrib.class" />
-    <xs:attributeGroup ref="tts:Styling.attrib.class" />
+    <xs:attributeGroup ref="tt:Styled.attrib.class"/>
   </xs:attributeGroup>
   <xs:complexType name="set.eltype">
     <xs:sequence>