Bug 75367
| Summary: | [chromium] Rounding issue on some RenderSVGPath values | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tony Chang <tony> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | schenney, zimmermann |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tony Chang
For example, the following 2 tests have rounding issues (on all platforms, most noticeable on Linux):
svg/css/composite-shadow-example.html
svg/css/composite-shadow-with-opacity.html
Here's a wdiff of the two possible values, which can flip using the same binary on different runs:
http://build.chromium.org/f/chromium/layout_test_results/Webkit_Linux/results/layout-test-results/svg/css/composite-shadow-example-wdiff.html
http://build.chromium.org/f/chromium/layout_test_results/Webkit_Linux/results/layout-test-results/svg/css/composite-shadow-with-opacity-wdiff.html
This seems pretty minor (1.83697e-15 vs 1.83691e-15). Maybe we should clamp values close to zero?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Stephen Chenney
Committed r113459: <http://trac.webkit.org/changeset/113459>