[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 438279ec08e91d9
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
     1.1 Binary file ttml11/spec/rnc/schema.zip has changed
     2.1 --- a/ttml11/spec/rnc/ttml11-animation.rnc	Wed Jul 10 14:54:48 2013 -0600
     2.2 +++ b/ttml11/spec/rnc/ttml11-animation.rnc	Wed Jul 10 16:12:59 2013 -0600
     2.3 @@ -11,9 +11,8 @@
     2.4  
     2.5  TTAF.set.attlist &=
     2.6    TTAF.Core.attrib.class,
     2.7 -  TTAF.Timed.attrib.class,
     2.8 -  (TTAF.Styling.attrib.class |
     2.9 -   TTAF.Styling.ForeignExtension.attrib+ )
    2.10 +  TTAF.Styled.attrib.class,
    2.11 +  TTAF.Timed.attrib.class
    2.12  
    2.13  TTAF.set.content.extra = empty
    2.14  TTAF.set.content =
     3.1 --- a/ttml11/spec/ttml-changes.html	Wed Jul 10 14:54:48 2013 -0600
     3.2 +++ b/ttml11/spec/ttml-changes.html	Wed Jul 10 16:12:59 2013 -0600
     3.3 @@ -39,6 +39,12 @@
     3.4    including normative processing semantics.
     3.5  * In 6.1.5, add 'prohibited' value to 'value' attribute of ttp:extension element,
     3.6    including normative processing semantics.
     3.7 +* In 8.2.1, add 'set' element to enumeration of element types to which 'style'
     3.8 +  attribute applies.
     3.9 +* In 8.4.4, add semantics for determining specified style set and computed style set
    3.10 +  for 'set' element.
    3.11 +* In 11.1.1, add 'style' attribute to 'set' element.
    3.12 +* In 11.1.1, permit multiple attributes from TT Style Namespace on 'set' element.
    3.13  * In Appendix C, remove contents for mediate type registration, since registration
    3.14    has (will have) already occurred (by the time TTML11 goes to FPWD).
    3.15  * In Appendix O, change appendix designation to normative, effectively changing
     4.1 --- a/ttml11/spec/ttml11.xml	Wed Jul 10 14:54:48 2013 -0600
     4.2 +++ b/ttml11/spec/ttml11.xml	Wed Jul 10 16:12:59 2013 -0600
     4.3 @@ -3518,6 +3518,7 @@
     4.4  <item><p><loc href="#content-vocabulary-div"><el>div</el></loc></p></item>
     4.5  <item><p><loc href="#content-vocabulary-p"><el>p</el></loc></p></item>
     4.6  <item><p><loc href="#layout-vocabulary-region"><el>region</el></loc></p></item>
     4.7 +<item><p><loc href="#animation-vocabulary-set"><el>set</el></loc></p></item>
     4.8  <item><p><loc href="#content-vocabulary-span"><el>span</el></loc></p></item>
     4.9  <item><p><loc href="#styling-vocabulary-style"><el>style</el></loc></p></item>
    4.10  </ulist>
    4.11 @@ -7017,15 +7018,17 @@
    4.12  attribute of <emph>E</emph>,
    4.13  merge <emph>P</emph> into the specified style
    4.14  set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
    4.15 -<item><p><phrase role="strong">[animation styling]</phrase> for each
    4.16 -style property <emph>P</emph> expressed as a specified styling
    4.17 -attribute of an immediate animation (<el>set</el>) element child of element <emph>E</emph>,
    4.18 -merge <emph>P</emph> into the specified style
    4.19 -set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
    4.20 +<item><p><phrase role="strong">[animation styling]</phrase> if the
    4.21 +element type of <emph>E</emph> is not the animation element type
    4.22 +<el>set</el>, then for each
    4.23 +immediate animation (<el>set</el>) element child <emph>A</emph> of element <emph>E</emph>,
    4.24 +merge the specified style set of <emph>A</emph>,
    4.25 +<emph>SSS(A)</emph>, into the specified style set of <emph>E</emph>, <emph>SSS(E)</emph>;</p></item>
    4.26  <item>
    4.27  <p><phrase role="strong">[implicit inheritance]</phrase> if the
    4.28 -element type of <emph>E</emph> is not the styling element type
    4.29 -<el>style</el>, then for each inheritable style property
    4.30 +element type of <emph>E</emph> is not the animation element type <el>set</el>
    4.31 +or the styling element type <el>style</el>,
    4.32 +then for each inheritable style property
    4.33  <emph>P<sub>INH</sub></emph> in the set of style properties defined
    4.34  above in <specref ref="styling-attribute-vocabulary"/>, perform the
    4.35  following ordered sub-steps:</p>
    4.36 @@ -7066,7 +7069,7 @@
    4.37  initialize <emph>CSS(E)</emph> to a (deep) copy of
    4.38  <emph>SSS(E)</emph>;</p></item>
    4.39  <item><p><phrase role="strong">[filter]</phrase> if
    4.40 -<emph>E</emph> is a <el>style</el> element, then return
    4.41 +<emph>E</emph> is a <el>set</el> or <el>style</el> element, then return
    4.42  <emph>CSS(E)</emph> as the resulting computed style set without
    4.43  further resolution; otherwise, continue with the next rule;</p></item>
    4.44  <item>
    4.45 @@ -7083,13 +7086,13 @@
    4.46  </olist>
    4.47  <note role="explanation">
    4.48  <p>As a result of the filtering rule above, the computed style set of
    4.49 -a <el>style</el> element includes only specified values, in which case
    4.50 +a <el>set</el> or <el>style</el> element includes only specified values, in which case
    4.51  relative value expressions remain relative; consequently, the
    4.52  resolution of relative value expressions (that may be assigned by
    4.53  means of referential style association) always takes place in the
    4.54  context of a layout or content element which has a presentation
    4.55  context, and not in the non-presentation, declaration context
    4.56 -of a referentiable <el>style</el> element.</p>
    4.57 +of a <el>set</el> element or a referentiable <el>style</el> element.</p>
    4.58  </note>
    4.59  </div4>
    4.60  <div4 id="semantics-style-resolution-process-overall">
    4.61 @@ -7102,7 +7105,8 @@
    4.62  <olist>
    4.63  <item><p><phrase role="strong">[filter]</phrase> if the element type
    4.64  of <emph>E</emph> is not the styling element type <el>style</el>, is
    4.65 -not the layout element type <el>region</el>, and is not one of the
    4.66 +not the layout element type <el>region</el>, is not the animation
    4.67 +element type <el>set</el>, and is not one of the
    4.68  content element types <el>body</el>, <el>div</el>, <el>p</el>,
    4.69  <el>span</el>, <el>br</el>, or anonymous span, then continue to the
    4.70  next element in the preorder traversal;</p></item>
    4.71 @@ -8020,10 +8024,11 @@
    4.72    <loc href="#timing-attribute-begin">begin</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
    4.73    <loc href="#timing-attribute-dur">dur</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
    4.74    <loc href="#timing-attribute-end">end</loc> = <loc href="#timing-value-timeExpression">&lt;timeExpression&gt;</loc>
    4.75 +  <loc href="#style-attribute-style">style</loc> = IDREFS
    4.76    <loc href="#content-attribute-id">xml:id</loc> = ID
    4.77    <loc href="#content-attribute-lang">xml:lang</loc> = string
    4.78    <loc href="#content-attribute-space">xml:space</loc> = (<emph>default</emph>|<emph>preserve</emph>)
    4.79 -  {<emph>a single attribute in TT Style namespace</emph>}
    4.80 +  {<emph>any attribute in TT Style namespace</emph>}
    4.81    {<emph>any attribute not in default or any TT namespace</emph>}&gt;
    4.82    <emph>Content:</emph> <loc href="#element-vocab-group-table">Metadata.class</loc>*
    4.83  &lt;/set&gt;
     5.1 Binary file ttml11/spec/xsd/schema.zip has changed
     6.1 --- a/ttml11/spec/xsd/ttml11-animation.xsd	Wed Jul 10 14:54:48 2013 -0600
     6.2 +++ b/ttml11/spec/xsd/ttml11-animation.xsd	Wed Jul 10 16:12:59 2013 -0600
     6.3 @@ -11,7 +11,7 @@
     6.4    <xs:attributeGroup name="set.attlist">
     6.5      <xs:attributeGroup ref="tt:Core.attrib.class" />
     6.6      <xs:attributeGroup ref="tt:Timed.attrib.class" />
     6.7 -    <xs:attributeGroup ref="tts:Styling.attrib.class" />
     6.8 +    <xs:attributeGroup ref="tt:Styled.attrib.class"/>
     6.9    </xs:attributeGroup>
    6.10    <xs:complexType name="set.eltype">
    6.11      <xs:sequence>