Fix resolved values of transform-origin and perspective-origin

Mon, 12 Mar 2012 13:29:01 -0600

author
Aryeh Gregor <ayg@aryeh.name>
date
Mon, 12 Mar 2012 13:29:01 -0600
changeset 4737
9338e35c5058
parent 4736
3c173d4d4749
child 4740
77340329a0d4

Fix resolved values of transform-origin and perspective-origin

Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=15433 and partially fixes
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15681.

css3-transforms/ChangeLog file | annotate | diff | comparison | revisions
css3-transforms/Overview.html file | annotate | diff | comparison | revisions
css3-transforms/Transforms.src.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-transforms/ChangeLog	Mon Mar 12 11:30:19 2012 -0600
     1.2 +++ b/css3-transforms/ChangeLog	Mon Mar 12 13:29:01 2012 -0600
     1.3 @@ -1,3 +1,7 @@
     1.4 +2012-03-12 ayg@aryeh.name
     1.5 +    Fix resolved values of transform-origin and perspective-origin
     1.6 +    Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=15433 and partially fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=15681.
     1.7 +
     1.8  2012-03-12 ayg@aryeh.name
     1.9      Hyperlink two CSS2.1 definitions
    1.10  
     2.1 --- a/css3-transforms/Overview.html	Mon Mar 12 11:30:19 2012 -0600
     2.2 +++ b/css3-transforms/Overview.html	Mon Mar 12 13:29:01 2012 -0600
     2.3 @@ -1577,7 +1577,14 @@
     2.4  
     2.5    <p>For SVG elements without an associated CSS layout box the
     2.6     <var>&lt;length&gt;</var> values represent an offset from the point of
     2.7 -   origin of the element's local coordinate space.</p>
     2.8 +   origin of the element's local coordinate space.
     2.9 +
    2.10 +  <p> The <a
    2.11 +   href="http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#resolved-value">resolved
    2.12 +   value</a> of &lsquo;<a href="#transform-origin"><code class=css><code
    2.13 +   class=property>transform-origin</code></code></a>&rsquo; is the <a
    2.14 +   href="http://www.w3.org/TR/CSS21/cascade.html#used-value">used value</a>
    2.15 +   (i.e., percentages are resolved to absolute lengths).</p>
    2.16    <!-- ======================================================================================================= -->
    2.17  
    2.18    <h2 id=transform-style-property><span class=secno>9. </span> The &lsquo;<a
    2.19 @@ -1794,7 +1801,14 @@
    2.20     href="#perspective-origin"><code class=css><code
    2.21     class=property>perspective-origin</code></code></a>&rsquo; properties are
    2.22     used to compute the <a href="#TermPerspectiveMatrix"><i>perspective
    2.23 -   matrix</i></a>, as described above.</p>
    2.24 +   matrix</i></a>, as described above.
    2.25 +
    2.26 +  <p> The <a
    2.27 +   href="http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#resolved-value">resolved
    2.28 +   value</a> of &lsquo;<a href="#perspective-origin"><code class=css><code
    2.29 +   class=property>perspective-origin</code></code></a>&rsquo; is the <a
    2.30 +   href="http://www.w3.org/TR/CSS21/cascade.html#used-value">used value</a>
    2.31 +   (i.e., percentages are resolved to absolute lengths).</p>
    2.32    <!-- ======================================================================================================= -->
    2.33  
    2.34    <h2 id=backface-visibility-property><span class=secno>12. </span> The
     3.1 --- a/css3-transforms/Transforms.src.html	Mon Mar 12 11:30:19 2012 -0600
     3.2 +++ b/css3-transforms/Transforms.src.html	Mon Mar 12 13:29:01 2012 -0600
     3.3 @@ -1135,6 +1135,13 @@
     3.4                values represent an offset from the point of origin of the element's local coordinate space.
     3.5                </p>
     3.6  
     3.7 +              <p>
     3.8 +                The <a href="http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#resolved-value">resolved value</a>
     3.9 +                of '<code class="property">transform-origin</code>' is the
    3.10 +                <a href="http://www.w3.org/TR/CSS21/cascade.html#used-value">used value</a>
    3.11 +                (i.e., percentages are resolved to absolute lengths).
    3.12 +              </p>
    3.13 +
    3.14                <!-- ======================================================================================================= -->
    3.15  
    3.16                <h2 id="transform-style-property">
    3.17 @@ -1407,7 +1414,14 @@
    3.18                  The values of the '<code class="property">perspective</code>' and '<code class="property">perspective-origin</code>'
    3.19                  properties are used to compute the <a href="#TermPerspectiveMatrix"><i>perspective matrix</i></a>, as described above.
    3.20                </p>
    3.21 -              
    3.22 +
    3.23 +              <p>
    3.24 +                The <a href="http://dvcs.w3.org/hg/cssom/raw-file/tip/Overview.html/#resolved-value">resolved value</a>
    3.25 +                of '<code class="property">perspective-origin</code>' is the
    3.26 +                <a href="http://www.w3.org/TR/CSS21/cascade.html#used-value">used value</a>
    3.27 +                (i.e., percentages are resolved to absolute lengths).
    3.28 +              </p>
    3.29 +
    3.30                <!-- ======================================================================================================= -->
    3.31  
    3.32                <h2 id="backface-visibility-property">

mercurial