RESOLVED FIXED 32604
[GTK] svg/custom/path-getTotalLength.svg failing on the release bot
https://bugs.webkit.org/show_bug.cgi?id=32604
Summary [GTK] svg/custom/path-getTotalLength.svg failing on the release bot
Gustavo Noronha (kov)
Reported 2009-12-16 02:23:21 PST
This test fails on the release bot only. It seems to be caused by some rounding error: --- layout-test-results/svg/custom/path-getTotalLength-expected.txt 2009-12-16 02:17:20.000000000 -0800 +++ layout-test-results/svg/custom/path-getTotalLength-actual.txt 2009-12-16 02:17:20.000000000 -0800 @@ -1,4 +1,4 @@ PASS: M 0 0 L 100 0 L 100 100 L 0 100 Z" = 400 PASS: M 0 0 l 100 0 l 0 100 l -100 0 Z" = 400 PASS: M 0 0 t 0 100" = 100 -PASS: M 0 0 Q 55 50 100 100" = 141.4804229736328 +PASS: M 0 0 Q 55 50 100 100" = 141.48040771484375
Attachments
Dirk Schulze
Comment 1 2009-12-16 07:12:55 PST
It's possible that this is caused by cairo. I stores the points in fixed point. I doubt that we can fix this is webkit.
Nikolas Zimmermann
Comment 2 2010-07-09 07:18:25 PDT
Changed component to SVG, so it shows up in my all-svg-bugs search.
Dirk Schulze
Comment 3 2011-05-22 13:58:44 PDT
Gustavo can you check this again please? The calculation path length calculation is now done independent of the graphic library.
Dirk Schulze
Comment 4 2011-07-06 11:50:02 PDT
Works independent from Path now. Same results across plattforms
Note You need to log in before you can comment on or make changes to this bug.