Chris Double was kind enough to update the SMIL patch on Bug 21642 for Mozilla and then do some builds for me so I wouldn't have to muddle through the build and patch process. I'm ashamed to admit that so far this has been enough of a deterrant that I haven't bothered to try it out, so I'm really glad Chris did this. The best part is that, in doing this, Chris found Firefox crashing on several tests and was able to update the patch to fix these problems.

Anyway, with the patch, a Mozilla trunk nightly gains about 4.5% to their overall SVG score. Put another way, they score 25/116 on the SVG+SMIL animation tests in the Full test suite. While this isn't in the league of current WebKit nightlies (and neither of these platforms are in the league of Opera 9+), it does show that progress could be made on this were it applied to the trunk (once Firefox 3 ships, of course). Does anyone know if this patch means that a Firefox build would pass those SVG+SMIL tests in Acid 3?

[Update: Chris has made the Firefox builds available for download here]

[Update 2008-04-20: Chris' latest build now makes the SMIL score 38/125, though some tests have now regressed.]

§455 · April 18, 2008 · Firefox, Software, SVG, Web · Tags: , , , · [Print]

Leave a Comment to “Firefox Getting Ready To Smile?”

  1. Chris Double says:

    Unfortunately it doesn’t pass the SMIL portion of Acid 3 due to the ‘set’ element not being implemented. I have a work in progress implementation of this that does successfully parse the Acid 3 SMIL tests. I hope to have the fix for this added to the patch in the bug soon.

    More good news, the original author of the patch commented on my blog that he’s interested in picking it up again!

  2. @Chris: More great news. As far as ‘complete’ support, I think if the following were also taken care of we’d be in really good shape:

    • The patch doesn’t support ‘discrete’ calcmode (which could also probably use some of the ‘set’ functionality).
    • animateTransform, animateMotion and animateColor are not yet supported
  3. Chris Double says:

    @Jeff: I’ve updated the patch in the bug. It fixes ‘discrete’ calcmode, adds ‘set’ element, and Acid 3 SMIL tests 75 and 76 pass. I did a quick test of a few SVG tests that use ‘set’ and they seemed to work. Not all properties can be animated by this implementation but at least it adds a few more passing tests. I’ll do some new builds and post to my blog when they’re up.