FakeSMIL treats semicolon at end of a values list as if there were a zero after it.

Reported by Daniel Holbert on 2008-06-26
2
Affects Status Importance Assigned to Milestone
FakeSmile
Undecided
Fenring

Bug Description

See attachment, which has
    red rect: values="100; 200;" <--- trailing semicolon
    blue rect: values="100; 200"

Due to the semicolon, FakeSmile actually treats the red rect as if it had values="100; 200; 0". In the testcase, this makes the red and blue rect not line up, with the red rect finishing at x=0. This is a strange error-fallback behavior.

EXPECTED BEHAVIOR:
  Option A: Ignore final semicolon -- red rect and blue rect should match exactly. (Opera 9.27 does this.)
      or...
  Option B: Treat trailing ';' as a syntax error, and don't play the red rect's animation at all.

Daniel Holbert (dholbert) wrote :
codedread (codedread) wrote :

Also, watch this thread: http://lists.w3.org/Archives/Public/www-svg/2008May/0050.html in the www-svg mailing list.

Fenring (leunen-d) on 2008-09-03
Changed in smil:
assignee: nobody → leunen-d
status: New → Fix Released
Daniel Holbert (dholbert) wrote :

Confirmed fixed, using script version 0.1.27. The two squares now move in sync ("option A" from original description). Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments