[Webkit-unassigned] [Bug 88224] New: Freeze behaviour, not correct, depends on begin time ( Looks like Floating Point Problem )

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 4 04:31:12 PDT 2012


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

           Summary: Freeze behaviour, not correct, depends on begin time (
                    Looks like Floating Point Problem )
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rakssvg at gmail.com
                CC: zimmermann at kde.org


I wrote a very small animation. All this does is make a circle on and off
I have two such blocks one with a begin time of 0s and another of begin 3.9s. Rest all of the things being same the behaviour is still different in that for the block with begin as 0s the freeze behaviour is correct and as expected whereas for animation with begin 3.9s the fill=freeze behaviour is not correct.

Not only this if I change the second block and make the duration as 0.8 and end as 4.8s, it starts behaving correctly

Pretty strange
I tried this on Google Chrome 17.0.963.46
Attached is the svg I tried with



<?xml version="1.0" encoding="UTF-8"?>
<svg display="inherit" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events">
    <g display="none">
        <animate attributeName="display" begin="0" calcMode="discrete" dur="0.8" fill="freeze" end="0.8" keyTimes="0;0.25;0.75;1.0" values="inherit;none;inherit;none"/>
        <circle cx="215" cy="120" r="20" fill="#ff0000"/>
        <circle cx="715" cy="620" r="20" fill="#00f0f0"/>
    </g>

    <g display="none">
        <animate attributeName="display" begin="3.9" calcMode="discrete" dur="0.8" end="4.7" fill="freeze" keyTimes="0;0.25;0.75;1.0" values="inherit;none;inherit;none"/>
        <circle cx="415" cy="120" r="20" fill="#ff0000"/>
        <circle cx="615" cy="620" r="20" fill="#00f0f0"/>
    </g>
</svg>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list