Project status
Feature matrix
FakeSmile implements SVG animations partially. The table below contains the developement status of the latest revision.
Known bugs
beginandendattributes values :- #202583:
pacedvalue is not supported (treated aslinear) - #202585: The animations are scheduled with
setTimeouts, which makes them out of sync after some time. Their start time should be recomputed. - #202586:
<a xlink:href="[smil elem]">does not start the target animation (by the way, I don't understand the expected behavior of test 29. If someone can point me out the spec for this...). - #202588:
currentColorandinheritedattribute values are not supported - #202589: The script doesn't override the DOMImplementation's hasFeature() function. (Thus don't use requireFeatures attribute)
- #203193: Interpolation of qualified (i.e. with units: px,em,...) coordinates and lists of values doesn't work
Related Gecko specific issues
- Because of this bug, events will never trigger from
SVGElementInstances. animatedMotionwith apathattribute does not work in Gecko 1.8. BecausegetPointAtLength()throws an exception when called on dynamically createdSVGPathElements (see test ...).SVGPathSegList.normalizedPathSegListis not implemented. Thus, the script cannot animate non normalizedpathvalues (see test 83)<switch>elements seem buggy too (see test 36) in Gecko 1.8.
Official test suite results :
| # | Result | comment | Reason |
|---|---|---|---|
| 2 | 2/4 | additive | |
| 3 | PASS | buggy in gecko and webkit | unqualified (no units) value for font-size in CSS |
| 4 | PASS | ||
| 5 | PASS | ||
| 6 | PASS | buggy in gecko 1.8 | |
| 7 | PASS | ||
| 8 | FAIL | buggy in gecko 1.8 | rotate |
| 9 | PASS | ||
| 10 | PASS | ||
| 11 | FAIL | calcMode="paced" | |
| 12 | PASS | ||
| 13 | PASS | ||
| 14 | PASS | ||
| 15 | FAIL | calcMode="paced" | |
| 17 | PASS | ||
| 19 | PASS | ||
| 20 | FAIL | <a href="#anim"> | |
| 21 | FAIL | <a href="#anim"> | |
| 22 | PASS | ||
| 23 | PASS | ||
| 24 | FAIL | buggy in gecko 1.8 | additive |
| 25 | PASS | ||
| 26 | PASS | ||
| 27 | PASS | ||
| 28 | PASS | ||
| 29 | FAIL | <a href="#anim"> | |
| 30 | 4/6 | buggy in gecko 1.8 | additive |
| 31 | PASS | ||
| 32 | PASS | ||
| 33 | PASS | ||
| 34 | PASS | ||
| 36 | PASS | buggy in gecko 1.8 | animated switch |
| 37 | PASS | ||
| 39 | 5/6 | sync + I don't understand the expected behavior | |
| 40 | PASS | multiple x/y values in gecko | |
| 41 | 10/33 | additive + inheritance | |
| 44 | PASS | ||
| 46 | 5/15 | inheritance | |
| 52 | PASS | buggy in webkit ? | |
| 60 | 10/14 | negative offset based on event + accessKey | |
| 61 | 5/6 | accessKey | |
| 62 | 10/14 | negative offset based on event + accessKey + wallclock | |
| 63 | 5/6 | accessKey | |
| 64 | PASS | ||
| 65 | 3/8 | min | |
| 66 | 7/9 | max | |
| 67 | 2/6 | restart | |
| 68 | PASS | ||
| 69 | PASS | ||
| 70 | PASS | ||
| 77 | 14/18 | text-anchor + font-size | |
| 78 | PASS | ||
| 80 | PASS | ||
| 81 | 3/6 | additive | |
| 82 | 1/4 | paced | |
| 83 | 3/6 | non normalized path | |
| 84 | FAIL | currentColor + inherit | |
| 85 | FAIL | currentColor |