[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 501 d6f70775685b
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
--- a/ttml2/spec/ttml2-changes.html	Mon Aug 26 19:05:09 2013 -0600
+++ b/ttml2/spec/ttml2-changes.html	Mon Aug 26 19:27:32 2013 -0600
@@ -65,6 +65,9 @@
 * In 8.2.1, add 'set' element to enumeration of element types to which 'style'
   attribute applies.
 
+* In 8.2.14, add content elements to enumeration of element types to which
+  tts:opacity applies.
+
 * In 8.2.17, add content elements to enumeration of element types to which
   tts:padding applies.
 
--- a/ttml2/spec/ttml2.xml	Mon Aug 26 19:05:09 2013 -0600
+++ b/ttml2/spec/ttml2.xml	Mon Aug 26 19:27:32 2013 -0600
@@ -4844,10 +4844,10 @@
 <head>tts:opacity</head>
 <p>The <att>tts:opacity</att> attribute is used to specify a style property that
 defines the opacity (or conversely, the transparency)
-of marks associated with a region.</p>
+of marks associated with a region or an area generated by content flowed into a region.</p>
 <p>When presented onto a visual medium, the opacity of the region is applied uniformly and on a linear scale
 to all marks produced by content targeted to the
-region.</p>
+region after having applied applied any content element specific opacity to areas generated by that content.</p>
 <p>This attribute may be specified by any
 element type
 that permits use of attributes in the TT Style Namespace; however, this attribute applies
@@ -4871,7 +4871,11 @@
 <tr>
 <td><emph>Applies to:</emph></td>
 <td>
-<loc href="#layout-vocabulary-region"><el>region</el></loc>
+<loc href="#document-structure-vocabulary-body"><el>body</el></loc>,
+<loc href="#content-vocabulary-div"><el>div</el></loc>,
+<loc href="#content-vocabulary-p"><el>p</el></loc>,
+<loc href="#layout-vocabulary-region"><el>region</el></loc>,
+<loc href="#content-vocabulary-span"><el>span</el></loc>
 </td>
 </tr>
 <tr>
@@ -4889,6 +4893,11 @@
 </tbody>
 </table>
 <p>The <att>tts:opacity</att> style is illustrated by the following example.</p>
+<ednote>
+<name>Enhance Opacity Example</name>
+<date>2013-08-26</date>
+<edtext>Enhance opacity example to demonstrate opacity on content elements.</edtext>
+</ednote>
 <table id="style-attribute-opacity-example-1" role="example">
 <caption>Example Fragment &ndash; Opacity</caption>
 <tbody>