Bug 32604
Summary: | [GTK] svg/custom/path-getTotalLength.svg failing on the release bot | ||
---|---|---|---|
Product: | WebKit | Reporter: | Gustavo Noronha (kov) <gustavo> |
Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | krit, zimmermann |
Priority: | P2 | Keywords: | Gtk |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Gustavo Noronha (kov)
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dirk Schulze
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
Changed component to SVG, so it shows up in my all-svg-bugs search.
Dirk Schulze
Gustavo can you check this again please? The calculation path length calculation is now done independent of the graphic library.
Dirk Schulze
Works independent from Path now. Same results across plattforms