[Webkit-unassigned] [Bug 139192] New: In SVG, when the animation is paused and the animation function value is to-animation, the transform attribute in the target element has no effect.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 2 12:18:11 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139192

            Bug ID: 139192
           Summary: In SVG, when the animation is paused and the animation
                    function value is to-animation, the transform
                    attribute in the target element has no effect.
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: zimmermann at kde.org

Created attachment 242437
  --> https://bugs.webkit.org/attachment.cgi?id=242437&action=review
Test running only a part of animateTransform while the animation is paused

Open this svg in WebKit

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <!-- to animation -->
  <g transform="translate(50 250)">
    <path d="M-2 50h4v -90h4l -6 -10 -6 10h4z" fill="blue"
    transform="rotate(45)">
      <animateTransform attributeName="transform"
        type="rotate" to="135" dur="2s" fill="freeze"/>
    </path>
  </g>
  <!-- by animation -->
  <g transform="translate(150 250)">
    <path d="M-2 50h4v -90h4l -6 -10 -6 10h4z" fill="blue"
    transform="rotate(45)">
      <animateTransform attributeName="transform"
        type="rotate" by="90" dur="2s" fill="freeze"/>
    </path>
  </g>
  <script>
    document.documentElement.pauseAnimations();
  </script>
</svg>

Result: The first arrow is upwards arrow and the second arrow is North-East arrow
Expected: Both arrows should be North-East arrows

Or open the attached svg and compare it with the expected results. They should be identical.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141202/a81b84ad/attachment-0002.html>


More information about the webkit-unassigned mailing list