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

Bug #243115 reported by Daniel Holbert
2
Affects Status Importance Assigned to Milestone
FakeSmile
Fix Released
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.

Revision history for this message
Daniel Holbert (dholbert) wrote :
Revision history for this message
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)
Changed in smil:
assignee: nobody → leunen-d
status: New → Fix Released
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.