[ttml2] extend tts:opacity to apply to content elements (issue 227)
authorGlenn Adams <glenn@skynav.com>
Mon, 26 Aug 2013 19:27:32 -0600
changeset 501d6f70775685b
parent 500 c95e843b4e35
child 502 05bb12b0b06a
[ttml2] extend tts:opacity to apply to content elements (issue 227)
ttml2/spec/ttml2-changes.html
ttml2/spec/ttml2.xml
     1.1 --- a/ttml2/spec/ttml2-changes.html	Mon Aug 26 19:05:09 2013 -0600
     1.2 +++ b/ttml2/spec/ttml2-changes.html	Mon Aug 26 19:27:32 2013 -0600
     1.3 @@ -65,6 +65,9 @@
     1.4  * In 8.2.1, add 'set' element to enumeration of element types to which 'style'
     1.5    attribute applies.
     1.6  
     1.7 +* In 8.2.14, add content elements to enumeration of element types to which
     1.8 +  tts:opacity applies.
     1.9 +
    1.10  * In 8.2.17, add content elements to enumeration of element types to which
    1.11    tts:padding applies.
    1.12  
     2.1 --- a/ttml2/spec/ttml2.xml	Mon Aug 26 19:05:09 2013 -0600
     2.2 +++ b/ttml2/spec/ttml2.xml	Mon Aug 26 19:27:32 2013 -0600
     2.3 @@ -4844,10 +4844,10 @@
     2.4  <head>tts:opacity</head>
     2.5  <p>The <att>tts:opacity</att> attribute is used to specify a style property that
     2.6  defines the opacity (or conversely, the transparency)
     2.7 -of marks associated with a region.</p>
     2.8 +of marks associated with a region or an area generated by content flowed into a region.</p>
     2.9  <p>When presented onto a visual medium, the opacity of the region is applied uniformly and on a linear scale
    2.10  to all marks produced by content targeted to the
    2.11 -region.</p>
    2.12 +region after having applied applied any content element specific opacity to areas generated by that content.</p>
    2.13  <p>This attribute may be specified by any
    2.14  element type
    2.15  that permits use of attributes in the TT Style Namespace; however, this attribute applies
    2.16 @@ -4871,7 +4871,11 @@
    2.17  <tr>
    2.18  <td><emph>Applies to:</emph></td>
    2.19  <td>
    2.20 -<loc href="#layout-vocabulary-region"><el>region</el></loc>
    2.21 +<loc href="#document-structure-vocabulary-body"><el>body</el></loc>,
    2.22 +<loc href="#content-vocabulary-div"><el>div</el></loc>,
    2.23 +<loc href="#content-vocabulary-p"><el>p</el></loc>,
    2.24 +<loc href="#layout-vocabulary-region"><el>region</el></loc>,
    2.25 +<loc href="#content-vocabulary-span"><el>span</el></loc>
    2.26  </td>
    2.27  </tr>
    2.28  <tr>
    2.29 @@ -4889,6 +4893,11 @@
    2.30  </tbody>
    2.31  </table>
    2.32  <p>The <att>tts:opacity</att> style is illustrated by the following example.</p>
    2.33 +<ednote>
    2.34 +<name>Enhance Opacity Example</name>
    2.35 +<date>2013-08-26</date>
    2.36 +<edtext>Enhance opacity example to demonstrate opacity on content elements.</edtext>
    2.37 +</ednote>
    2.38  <table id="style-attribute-opacity-example-1" role="example">
    2.39  <caption>Example Fragment &ndash; Opacity</caption>
    2.40  <tbody>