<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><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> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - outermost SVG currentScale should only scale SVG Element"
   href="https://bugs.webkit.org/show_bug.cgi?id=157567">bug 157567</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
               &nbsp;
           </td>
           <td>sabouhallawa&#64;apple.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - outermost SVG currentScale should only scale SVG Element"
   href="https://bugs.webkit.org/show_bug.cgi?id=157567#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 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>I do not think we need to fix this because the behavior of currentScale is undefined when we're dealing with non-standalone SVG documents. Since there is no specs for currentScale with embedded SVG, browsers handle it differently:

1. Safari and Chrome: the scaling is handled by the host renderer.
2. FireFox: the scaling is compelety ignored.
3. Opera: the scale is handled as applying viewBox scaling.

I attached two test cases for changing currentScale with standalone and embedded SVG. The embedded case behaves differently but the standalone behaves the same in all browsers.

There is nicer and easier way to replace currentScale with embedded SVG. Using viewBox on the outer SVG element will do exactly the same as setting the currentScale. 

For example, the following SVG will be scaled 200%.

   &lt;svg width=&quot;600&quot; height=&quot;400&quot; viewBox=&quot;0 0 300 200&quot;&gt;

I attached also another test case which uses viewBox scaling and which behaves in WebKit exactly as currentScale behaves in Opera.</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>