ACTION-3314: Specify that float values in the 'order'

Mon, 23 Jul 2012 15:08:42 +0200

author
Erik Dahlström <ed@opera.com>
date
Mon, 23 Jul 2012 15:08:42 +0200
changeset 200
d6cedc86fc04
parent 199
8ece6f30d3c9
child 202
6abd0a324692

ACTION-3314: Specify that float values in the 'order'
attribute of feConvolveMatrix will truncate the values
if they're not integers.

filters/ChangeLog file | annotate | diff | comparison | revisions
filters/Filters.src.html file | annotate | diff | comparison | revisions
filters/index.html file | annotate | diff | comparison | revisions
     1.1 --- a/filters/ChangeLog	Fri Jul 20 16:32:28 2012 -0700
     1.2 +++ b/filters/ChangeLog	Mon Jul 23 15:08:42 2012 +0200
     1.3 @@ -1,6 +1,11 @@
     1.4  Changes for Filter Effects specification
     1.5  ----------------------------------------
     1.6  
     1.7 +2012-07-23  Erik Dahlström  <ed@opera.com>
     1.8 +
     1.9 +- ACTION-3314: Specify that float values in the 'order' attribute of feConvolveMatrix 
    1.10 +  will truncate the values if they're not integers.
    1.11 +
    1.12  2012-07-20  Dirk Schulze  <dschulze@adobe.com>
    1.13  
    1.14  - corrections to shader part after review
     2.1 --- a/filters/Filters.src.html	Fri Jul 20 16:32:28 2012 -0700
     2.2 +++ b/filters/Filters.src.html	Mon Jul 23 15:08:42 2012 +0200
     2.3 @@ -3581,16 +3581,17 @@
     2.4    class="attr-value"><a>&lt;number-optional-number&gt;</a></span>"</dt>
     2.5      <dd>Indicates the number of cells in each dimension for <a>'kernelMatrix'</a>. The values provided must be
     2.6        <a>&lt;integer&gt;</a>
     2.7 -      s greater than zero. The first number, &lt;orderX&gt;, indicates the
     2.8 +      s greater than zero. Values that are not integers will be 
     2.9 +    	truncated, i.e. rounded to the closest integer value towards zero.
    2.10 +      The first number, &lt;orderX&gt;, indicates the
    2.11        number of columns in the matrix. The second number, &lt;orderY&gt;,
    2.12        indicates the number of rows in the matrix. If &lt;orderY&gt; is not
    2.13        provided, it defaults to &lt;orderX&gt;.<br />
    2.14 -      A typical value is order="3". It is recommended that only small values
    2.15 +      It is recommended that only small values
    2.16        (e.g., 3) be used; higher values may result in very high CPU overhead
    2.17        and usually do not produce results that justify the impact on
    2.18        performance.<br />
    2.19 -      If the attribute is not specified, the effect is as if a value of "3"
    2.20 -      were specified.<br />
    2.21 +      The <a>lacuna value</a> for <a>'order'</a> is <span class="attr-value">3</span>. <br />
    2.22        <span class="anim-target">Animatable: yes.</span></dd>
    2.23    <dt id="feConvolveMatrixElementKernelMatrixAttribute"><span
    2.24    class="adef">kernelMatrix</span> = "<span class="attr-value">&lt;list of
    2.25 @@ -3608,8 +3609,8 @@
    2.26        value. A divisor that is the sum of all the matrix values tends to have
    2.27        an evening effect on the overall color intensity of the result. If the
    2.28        specified divisor is zero then the default value will be used instead.
    2.29 -      The default value is the sum of all values in kernelMatrix, with the
    2.30 -      exception that if the sum is zero, then the divisor is set to 1.<br />
    2.31 +      The <a>lacuna value</a> is the sum of all values in kernelMatrix, with the
    2.32 +      exception that if the sum is zero, then the divisor is set to <span class="attr-value">1</span>.<br />
    2.33        <span class="anim-target">Animatable: yes.</span></dd>
    2.34    <dt id="feConvolveMatrixElementBiasAttribute"><span
    2.35    class="adef">bias</span> = "<span
     3.1 --- a/filters/index.html	Fri Jul 20 16:32:28 2012 -0700
     3.2 +++ b/filters/index.html	Mon Jul 23 15:08:42 2012 +0200
     3.3 @@ -75,14 +75,14 @@
     3.4  
     3.5     <h1>Filter Effects 1.0</h1>
     3.6  
     3.7 -   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 20 July 2012</h2>
     3.8 +   <h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 23 July 2012</h2>
     3.9  
    3.10     <dl>
    3.11      <dt>This version:
    3.12  
    3.13      <dd> <a
    3.14       href="http://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html">http://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html</a>
    3.15 -     <!--http://www.w3.org/TR/2012/WD-filter-effects-20120720/-->
    3.16 +     <!--http://www.w3.org/TR/2012/WD-filter-effects-20120723/-->
    3.17  
    3.18      <dt>Latest version:
    3.19  
    3.20 @@ -6246,17 +6246,18 @@
    3.21  
    3.22      <dd>Indicates the number of cells in each dimension for <a>‘<code
    3.23       class=property>kernelMatrix</code>’</a>. The values provided must be
    3.24 -     <a>&lt;integer&gt;</a> s greater than zero. The first number,
    3.25 -     &lt;orderX&gt;, indicates the number of columns in the matrix. The
    3.26 -     second number, &lt;orderY&gt;, indicates the number of rows in the
    3.27 -     matrix. If &lt;orderY&gt; is not provided, it defaults to
    3.28 +     <a>&lt;integer&gt;</a> s greater than zero. Values that are not integers
    3.29 +     will be truncated, i.e. rounded to the closest integer value towards
    3.30 +     zero. The first number, &lt;orderX&gt;, indicates the number of columns
    3.31 +     in the matrix. The second number, &lt;orderY&gt;, indicates the number
    3.32 +     of rows in the matrix. If &lt;orderY&gt; is not provided, it defaults to
    3.33       &lt;orderX&gt;.<br>
    3.34 -     A typical value is order="3". It is recommended that only small values
    3.35 -     (e.g., 3) be used; higher values may result in very high CPU overhead
    3.36 -     and usually do not produce results that justify the impact on
    3.37 -     performance.<br>
    3.38 -     If the attribute is not specified, the effect is as if a value of "3"
    3.39 -     were specified.<br>
    3.40 +     It is recommended that only small values (e.g., 3) be used; higher
    3.41 +     values may result in very high CPU overhead and usually do not produce
    3.42 +     results that justify the impact on performance.<br>
    3.43 +     The <a>lacuna value</a> for <a>‘<code
    3.44 +     class=property>order</code>’</a> is <span class=attr-value>3</span>.
    3.45 +     <br>
    3.46       <span class=anim-target>Animatable: yes.</span>
    3.47  
    3.48      <dt id=feConvolveMatrixElementKernelMatrixAttribute><span
    3.49 @@ -6279,9 +6280,9 @@
    3.50       color value. A divisor that is the sum of all the matrix values tends to
    3.51       have an evening effect on the overall color intensity of the result. If
    3.52       the specified divisor is zero then the default value will be used
    3.53 -     instead. The default value is the sum of all values in kernelMatrix,
    3.54 -     with the exception that if the sum is zero, then the divisor is set to
    3.55 -     1.<br>
    3.56 +     instead. The <a>lacuna value</a> is the sum of all values in
    3.57 +     kernelMatrix, with the exception that if the sum is zero, then the
    3.58 +     divisor is set to <span class=attr-value>1</span>.<br>
    3.59       <span class=anim-target>Animatable: yes.</span>
    3.60  
    3.61      <dt id=feConvolveMatrixElementBiasAttribute><span class=adef>bias</span>

mercurial