[ttml2] extend tts:padding to apply to content elements (issue 168)
authorGlenn Adams <glenn@skynav.com>
Sat, 24 Aug 2013 17:18:23 -0600
changeset 482 edf3344d2924
parent 481 bcffddd09978
child 483 5e031732a4cb
[ttml2] extend tts:padding to apply to content elements (issue 168)
ttml2/spec/ttml2-changes.html
ttml2/spec/ttml2.xml
--- a/ttml2/spec/ttml2-changes.html	Sat Aug 24 14:43:42 2013 -0600
+++ b/ttml2/spec/ttml2-changes.html	Sat Aug 24 17:18:23 2013 -0600
@@ -53,6 +53,9 @@
 * In 8.2.1, add 'set' element to enumeration of element types to which 'style'
   attribute applies.
 
+* In 8.2.17, add content elements to enumeration of element types to which
+  tts:padding applies.
+
 * In 8.3, add &lt;border-color&gt;, &lt;border-style&gt;, and &lt;border-width&gt;
   value expressions.
 
--- a/ttml2/spec/ttml2.xml	Sat Aug 24 14:43:42 2013 -0600
+++ b/ttml2/spec/ttml2.xml	Sat Aug 24 17:18:23 2013 -0600
@@ -5144,7 +5144,7 @@
 <div3 id="style-attribute-padding">
 <head>tts:padding</head>
 <p>The <att>tts:padding</att> attribute is used to specify padding (or inset)
-space on all sides of a region area.</p>
+space on one or more sides of a region or an area generated by content flowed into a region.</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
@@ -5169,7 +5169,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>
@@ -5178,7 +5182,7 @@
 </tr>
 <tr>
 <td><emph>Percentages:</emph></td>
-<td>relative to width and height of region</td>
+<td>relative to width and height of containing region</td>
 </tr>
 <tr>
 <td><emph>Animatable:</emph></td>
@@ -5200,6 +5204,11 @@
 then a presentation processor must interpret the attribute as if the
 value <code>0px</code> were specified.</p>
 <p>The <att>tts:padding</att> style is illustrated by the following example.</p>
+<ednote>
+<name>Enhance Padding Example</name>
+<date>2013-08-24</date>
+<edtext>Enhance padding example to demonstrate padding on content elements.</edtext>
+</ednote>
 <table id="style-attribute-padding-example-1" role="example">
 <caption>Example Fragment &ndash; Padding</caption>
 <tbody>
@@ -12608,7 +12617,7 @@
 <td><loc href="#style-attribute-border"><code>tts:border</code></loc></td>
 <td><code>border</code></td>
 <td><bibref ref="xsl11"/></td>
-<td><code>-inherit</code></td>
+<td><code></code></td>
 <td>1,6</td>
 </tr>
 <tr>