No subject


Tue May 3 15:05:30 PDT 2016


DOM attributes currentScale and currentTranslate are equivalent to the 2x3 matrix [a b c d e f] = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]

So currentScale and currentTranslate were added to give some sort of transformation to the root SVG but to prevent operation like: rotate, skew and shear on the root SVG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
--1463165164.B3d76746.14960
Date: Fri, 13 May 2016 11:46:04 -0700
MIME-Version: 1.0
Content-Type: text/html

<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - outermost SVG currentScale should only scale SVG Element"
   href="https://bugs.webkit.org/show_bug.cgi?id=157567#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - outermost SVG currentScale should only scale SVG Element"
   href="https://bugs.webkit.org/show_bug.cgi?id=157567">bug 157567</a>
              from <span class="vcard"><a class="email" href="mailto:sabouhallawa&#64;apple.com" title="Said Abou-Hallawa &lt;sabouhallawa&#64;apple.com&gt;"> <span class="fn">Said Abou-Hallawa</span></a>
</span></b>
        <pre>From looking at the w3c discussion about currentScale and currentTranslate, I think they were added to overcome the restriction that the SVG root does not have a transform attribute. From the specs:

DOM attributes currentScale and currentTranslate are equivalent to the 2x3 matrix [a b c d e f] = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]

So currentScale and currentTranslate were added to give some sort of transformation to the root SVG but to prevent operation like: rotate, skew and shear on the root SVG.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>
--1463165164.B3d76746.14960--


More information about the webkit-unassigned mailing list