[ttml1,ttml2] (1) add "see also" under Appendix C charset usage; (2) clarify resolution of multiple closest support values
authorGlenn Adams <glenn@skynav.com>
Thu, 19 Sep 2013 14:35:12 -0600
changeset 551 205bdb69436e
parent 550 4932d6f9d68b
child 552 aac96ebc6e18
[ttml1,ttml2] (1) add "see also" under Appendix C charset usage; (2) clarify resolution of multiple closest support values
ttml1/spec/ttml1.xml
ttml1/spec/xsd/schema.zip
ttml2/spec/ttml2.xml
--- a/ttml1/spec/ttml1.xml	Sat Sep 14 11:19:42 2013 +0000
+++ b/ttml1/spec/ttml1.xml	Thu Sep 19 14:35:12 2013 -0600
@@ -4067,7 +4067,8 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed extent and the supported extent is minimized.</p>
+the computed extent and the supported extent is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from [0,0], i.e., of greatest extent, is used.</p>
 </note>
 <p>The <att>tts:extent</att> style is illustrated by the following example.</p>
 <table id="style-attribute-extent-example-1" role="example">
@@ -4279,7 +4280,9 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed font size and the supported font size is minimized.</p>
+the computed font size and the supported font size is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0 (single length specification) or [0,0] (two length specifications) is used,
+i.e., the largest font size, is used.</p>
 </note>
 <note role="elaboration">
 <p>The expression <code>1c</code> means one cell, where <code>'c'</code> expresses
@@ -4584,7 +4587,8 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed line height and the supported line height is minimized.</p>
+the computed line height and the supported line height is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the largest line height, is used.</p>
 </note>
 <p>The <att>tts:lineHeight</att> style is illustrated by the following example.</p>
 <table id="style-attribute-lineHeight-example-1" role="example">
@@ -4802,7 +4806,8 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed origin and the supported origin is minimized.</p>
+the computed origin and the supported origin is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from [0,0], i.e., closest to the coordinate space origin, is used.</p>
 </note>
 <p>The <att>tts:origin</att> style is illustrated by the following example.</p>
 <table id="style-attribute-origin-example-1" role="example">
@@ -5025,7 +5030,8 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed padding and the supported padding is minimized.</p>
+the computed padding and the supported padding is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the greatest padding, is used.</p>
 </note>
 <p>The <att>tts:padding</att> style is illustrated by the following example.</p>
 <table id="style-attribute-padding-example-1" role="example">
@@ -5951,7 +5957,8 @@
 then a presentation processor must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed z-index and the supported z-index is minimized.</p>
+the computed z-index and the supported z-index is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from 0, i.e., closest to the base stack level of the current stacking context, is used.</p>
 </note>
 <p>The <att>tts:zIndex</att> style is illustrated by the following example.</p>
 <table id="style-attribute-zIndex-example-1" role="example">
@@ -6082,7 +6089,8 @@
 closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed opacity and the supported opacity is minimized.</p>
+the computed opacity and the supported opacity is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the greatest opacity, is used.</p>
 </note>
 </div3>
 <div3 id="style-value-color">
@@ -6143,7 +6151,8 @@
 to the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed color or alpha and the supported color or alpha in the RGB color space is minimized.</p>
+the computed color or alpha and the supported color or alpha in the RGB color space is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from opaque black <code>rgb(0,0,0,255)</code>, i.e., the closest to opaque black, is used.</p>
 </note>
 </div3>
 <div3 id="style-value-digit">
@@ -8720,7 +8729,7 @@
 <gitem>
 <label>charset</label>
 <def>
-<p>If specified, the <code>charset</code> parameter must match the XML encoding declaration, or if absent, the actual encoding.</p>
+<p>If specified, the <code>charset</code> parameter must match the XML encoding declaration, or if absent, the actual encoding. See also Encoding Considerations below.</p>
 </def>
 </gitem>
 <gitem>
Binary file ttml1/spec/xsd/schema.zip has changed
--- a/ttml2/spec/ttml2.xml	Sat Sep 14 11:19:42 2013 +0000
+++ b/ttml2/spec/ttml2.xml	Thu Sep 19 14:35:12 2013 -0600
@@ -3991,7 +3991,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed border width and the supported border width is minimized.</p>
+the computed border width and the supported border width is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the greatest border width, is used.</p>
 </note>
 <p>If no border style is specified in the value of the <att>tts:border</att> property,
 then the border style must be interpreted as if a style of
@@ -4532,7 +4533,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed extent and the supported extent is minimized.</p>
+the computed extent and the supported extent is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from [0,0], i.e., of greatest extent, is used.</p>
 </note>
 <p>The <att>tts:extent</att> style is illustrated by the following example.</p>
 <table id="style-attribute-extent-example-1" role="example">
@@ -4744,7 +4746,9 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed font size and the supported font size is minimized.</p>
+the computed font size and the supported font size is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0 (single length specification) or [0,0] (two length specifications) is used,
+i.e., the largest font size, is used.</p>
 </note>
 <note role="elaboration">
 <p>The expression <code>1c</code> means one cell, where <code>'c'</code> expresses
@@ -5043,7 +5047,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed line height and the supported line height is minimized.</p>
+the computed line height and the supported line height is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the largest line height, is used.</p>
 </note>
 <p>The <att>tts:lineHeight</att> style is illustrated by the following example.</p>
 <table id="style-attribute-lineHeight-example-1" role="example">
@@ -5271,7 +5276,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed origin and the supported origin is minimized.</p>
+the computed origin and the supported origin is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from [0,0], i.e., closest to the coordinate space origin, is used.</p>
 </note>
 <p>The <att>tts:origin</att> style is illustrated by the following example.</p>
 <table id="style-attribute-origin-example-1" role="example">
@@ -5498,7 +5504,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed padding and the supported padding is minimized.</p>
+the computed padding and the supported padding is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the greatest padding, is used.</p>
 </note>
 <p>The <att>tts:padding</att> style is illustrated by the following example.</p>
 <ednote>
@@ -6510,7 +6517,8 @@
 then a <loc href="#terms-presentation-processor">presentation processor</loc> must use the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed z-index and the supported z-index is minimized.</p>
+the computed z-index and the supported z-index is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from 0, i.e., closest to the base stack level of the current stacking context, is used.</p>
 </note>
 <p>The <att>tts:zIndex</att> style is illustrated by the following example.</p>
 <table id="style-attribute-zIndex-example-1" role="example">
@@ -6644,7 +6652,8 @@
 closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed opacity and the supported opacity is minimized.</p>
+the computed opacity and the supported opacity is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value most distant from 0, i.e., the greatest opacity, is used.</p>
 </note>
 </div3>
 
@@ -6780,7 +6789,8 @@
 to the closest supported value.</p>
 <note role="elaboration">
 <p>In this context, the phrase <emph>closest supported value</emph> means the value for which the Euclidean distance between
-the computed color or alpha and the supported color or alpha in the RGB color space is minimized.</p>
+the computed color and alpha and the supported color and alpha in the RGB color space is minimized. If there are multiple closest supported values equally distant from
+the computed value, then the value least distant from opaque black <code>rgb(0,0,0,255)</code>, i.e., the closest to opaque black, is used.</p>
 </note>
 </div3>
 <div3 id="style-value-digit">