[ttml2] clarify condition where both tts:origin and tts:position are specified
authorGlenn Adams <glenn@skynav.com>
Fri, 28 Nov 2014 20:34:35 -0700
changeset 785 ea90546bc247
parent 784 cee8747c1b13
child 786 a77b26b17099
[ttml2] clarify condition where both tts:origin and tts:position are specified
ttml2/spec/ttml2.xml
--- a/ttml2/spec/ttml2.xml	Fri Nov 28 17:12:57 2014 -0700
+++ b/ttml2/spec/ttml2.xml	Fri Nov 28 20:34:35 2014 -0700
@@ -5106,7 +5106,10 @@
 equivalent to specifying an anonymous <loc href="#terms-inline-region">inline region</loc> child of the <el>div</el> element, where the
 extent, origin, or position of the corresponding region, also referred to as an <loc href="#terms-implied-inline-region">implied inline region</loc>, is equal to the
 value of the respective attribute. If any of these style attributes are specified,
-then they apply to the same <loc href="#terms-implied-inline-region">implied inline region</loc>.</p>
+then they apply to the same <loc href="#terms-implied-inline-region">implied inline region</loc>.
+If both <loc href="#style-attribute-position"><att>tts:origin</att></loc> and <loc href="#style-attribute-position"><att>tts:position</att></loc> attributes
+are specified, then the <loc href="#style-attribute-position"><att>tts:origin</att></loc> attribute must be ignored when constructing the associated
+<loc href="#terms-implied-inline-region">implied inline region</loc>.</p>
 <p>If no <att>timeContainer</att> attribute is specified on
 a <el>div</el> element, then it must be interpreted as having
 <emph>parallel</emph> time containment semantics.</p>
@@ -5177,7 +5180,10 @@
 equivalent to specifying an anonymous <loc href="#terms-inline-region">inline region</loc> child of the <el>p</el> element, where the
 extent, origin, or position of the corresponding region, also referred to as an <loc href="#terms-implied-inline-region">implied inline region</loc>, is equal to the
 value of the respective attribute. If any of these style attributes are specified,
-then they apply to the same <loc href="#terms-implied-inline-region">implied inline region</loc>.</p>
+then they apply to the same <loc href="#terms-implied-inline-region">implied inline region</loc>.
+If both <loc href="#style-attribute-position"><att>tts:origin</att></loc> and <loc href="#style-attribute-position"><att>tts:position</att></loc> attributes
+are specified, then the <loc href="#style-attribute-position"><att>tts:origin</att></loc> attribute must be ignored when constructing the associated
+<loc href="#terms-implied-inline-region">implied inline region</loc>.</p>
 <p>If no <att>timeContainer</att> attribute is specified on
 a <el>p</el> element, then it must be interpreted as having
 <emph>parallel</emph> time containment semantics.</p>
@@ -8934,6 +8940,8 @@
 <p>The <att>tts:origin</att> attribute is used to specify the
 <emph>x</emph> and <emph>y</emph> coordinates of the origin of a
 region area with respect to the origin of the <loc href="#terms-root-container-region">root container region</loc>.</p>
+<p>If both <att>tts:origin</att> and <loc href="#style-attribute-position"><att>tts:position</att></loc> attributes are
+specified on an element, then the <att>tts:origin</att> attribute must be ignored for the purpose of presentation processing.</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
@@ -9273,6 +9281,8 @@
 <head>tts:position</head>
 <p>The <att>tts:position</att> attribute is used as an alternative way to specify the position
 of a region area with respect the <loc href="#terms-root-container-region">root container region</loc>.</p>
+<p>If both <att>tts:position</att> and <loc href="#style-attribute-origin"><att>tts:origin</att></loc> attributes are
+specified on an element, then the <att>tts:origin</att> attribute must be ignored for the purpose of presentation processing.</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
 as a style property only to those element types indicated in the following table.</p>
@@ -12476,10 +12486,10 @@
 <item><p><loc href="#styling-vocabulary-style"><el>style</el></loc></p></item>
 <item><p><loc href="#layout-vocabulary-region"><el>region</el></loc></p></item>
 <item><p><loc href="#document-structure-vocabulary-body"><el>body</el></loc></p></item>
-<item><p><loc href="#content-vocabulary-body"><el>div</el></loc></p></item>
-<item><p><loc href="#content-vocabulary-body"><el>p</el></loc></p></item>
-<item><p><loc href="#content-vocabulary-body"><el>span</el></loc></p></item>
-<item><p><loc href="#content-vocabulary-body"><el>br</el></loc></p></item>
+<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="#content-vocabulary-span"><el>span</el></loc></p></item>
+<item><p><loc href="#content-vocabulary-br"><el>br</el></loc></p></item>
 <item><p><loc href="#animation-vocabulary-animate"><el>animate</el></loc></p></item>
 <item><p><loc href="#animation-vocabulary-set"><el>set</el></loc></p></item>
 <item><p><emph>anonymous span</emph></p></item>