Fix bugs 15471, 15535, 15598.

Wed, 25 Jan 2012 18:54:12 +0000

author
Simon Fraser <simon.fraser@apple.com>
date
Wed, 25 Jan 2012 18:54:12 +0000
changeset 4334
69a97e82974d
parent 4333
2368d66ceb0e
child 4335
fd0bcda99468

Fix bugs 15471, 15535, 15598.

css3-transforms/Transforms.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-transforms/Transforms.src.html	Wed Jan 25 17:36:16 2012 +0000
     1.2 +++ b/css3-transforms/Transforms.src.html	Wed Jan 25 18:54:12 2012 +0000
     1.3 @@ -327,11 +327,16 @@
     1.4                        <em>Computed value:</em>
     1.5                      </td>
     1.6                      <td>
     1.7 -                      Same as specified value.
     1.8 +                      See below.
     1.9                      </td>
    1.10                    </tr>
    1.11                  </tbody>
    1.12 -              </table><!-- ======================================================================================================= -->
    1.13 +              </table>
    1.14 +              
    1.15 +              <div class="issue issue-marker"><p class="desc">We need to resolve whether the computed value is the same as the specified value, or matrix().</p></div>
    1.16 +              <p>The computed value of the transform property is a matrix() or matrix3d() value that describes the matrix that results from concatenating the individual transform functions. If the resulting matrix can be represented as a two-dimensional matrix with no loss of information, then a matrix() value is returned, otherwise a matrix3d() value. For elements with no transform applied, the computed value is 'none'.</p>
    1.17 +              <!-- ======================================================================================================= -->
    1.18 +   
    1.19                
    1.20                <h3 id="svg-transform">The SVG transform attribute</h3>
    1.21                
    1.22 @@ -431,7 +436,7 @@
    1.23                        <em>Initial:</em>
    1.24                      </td>
    1.25                      <td>
    1.26 -                      50% 50%
    1.27 +                      0 0 for SVG elements, 50% 50% for all other elements
    1.28                      </td>
    1.29                    </tr>
    1.30                    <tr>
    1.31 @@ -479,6 +484,9 @@
    1.32                
    1.33                <h3 id="svg-transform-origin">The 'transform-origin' property for SVG elements</h3>
    1.34                
    1.35 +              <div class="issue issue-marker">
    1.36 +                <p class="desc">Should we use 'auto', or explicitly say that transform-origin is 0 0 for SVG elements, 50% 50% for all other elements (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15504">bug 15504</a>)?</p>
    1.37 +              </div>
    1.38                <p>To keep the 'transform' property compatible with existing SVG content that assumed a top/left
    1.39                    coordinate system origin, the user agent stylesheet must contain the following:</p>
    1.40              
    1.41 @@ -501,6 +509,8 @@
    1.42                  type &lt;translation-value&gt; is defined as a &lt;length&gt; or
    1.43                  &lt;percentage&gt; value, and the &lt;angle&gt; type is defined by <a
    1.44                  href="http://www.w3.org/TR/css3-values/">CSS Values and Units.</a>
    1.45 +                Wherever &lt;angle&gt; is used in this specification, a &lt;number&gt; that is equal to
    1.46 +                zero is also allowed, which is treated the same as an angle of zero degrees.
    1.47                </p>
    1.48                <dl>
    1.49                  <dt>
    1.50 @@ -827,17 +837,18 @@
    1.51                  CSSMatrix
    1.52                </h3>
    1.53  
    1.54 -
    1.55                <div class="issue issue-marker">
    1.56 -                <p class="desc">We actually describe a 3x2 matrix here, similar to <a href="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>.
    1.57 -              </p></div>
    1.58 +                <p class="desc">We actually describe a 3x2 matrix here, similar to <a href="http://www.w3.org/TR/SVG/coords.html#InterfaceSVGMatrix">SVGMatrix</a>.</p>
    1.59 +              </div>
    1.60 +              <div class="issue issue-marker">
    1.61 +                <p class="desc">We need to resolve how SVGMatrix and CSSMatrix work together (<a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15498">bug 15498</a>).</p>
    1.62 +              </div>
    1.63  
    1.64                <dl>
    1.65                  <dt>
    1.66                    <b>Interface <i><a id="DOM-CSSMatrix" name='DOM-CSSMatrix'>CSSMatrix</a></i></b>
    1.67                  </dt>
    1.68                  <dd>
    1.69 -
    1.70                    <p>
    1.71                      The <code>CSSMatrix</code> interface represents a 3x2 homogeneous matrix.
    1.72                    </p>
    1.73 @@ -1226,17 +1237,16 @@
    1.74                  </dd> <!-- Interface CSSMatrix -->
    1.75                </dl>
    1.76  
    1.77 -              <div class="issue issue-marker"><p class="desc">We need to resolve how SVGMatrix and CSSMatrix work together.</p></div>
    1.78 -              <p>
    1.79 -                In addition to the interface listed above, the <code>getComputedStyle</code> method of the <code>Window</code>
    1.80 -                object has been updated. The <code>transform</code> property of the style object returned by
    1.81 -                <code>getComputedStyle</code> contains a DOMString of the form "matrix(a, b, c, d, e, f)"
    1.82 -                representing the 3x2 matrix that is the result of applying the individual functions listed in the
    1.83 -                <code>transform</code> property.
    1.84 -              </p>
    1.85 +        <h2 id="changes">Changes</h2>
    1.86  
    1.87 -
    1.88 -        <h2 id="changes">Changes</h2>
    1.89 +        <h3 id="changes_on_January_25_2012">
    1.90 +          Changes by Simon Fraser on January 25 2012
    1.91 +        </h3>
    1.92 +        <ul>
    1.93 +          <li>Potentially resolved <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15471">bug 15471</a> and
    1.94 +            <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15535">bug 15535</a> by removing the text about getComputedStyle after CSS matrix, and adding a paragraph about the computed value of the 'transform' property.</li>
    1.95 +          <li>Fixed <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=15598">bug 15598</a>, adding a note about unitless 0 in angles.</li>
    1.96 +        </ul>
    1.97  
    1.98          <h3 id="changes_from_January_24_2012">
    1.99            Changes from <a href="http://www.w3.org/TR/2012/ED-css3-2d-transforms-20110124/">January 24<sup>th</sup> 2012</a> version

mercurial