Bug 75367 - [chromium] Rounding issue on some RenderSVGPath values
Summary: [chromium] Rounding issue on some RenderSVGPath values
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-29 13:22 PST by Tony Chang
Modified: 2012-04-06 11:07 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Chang 2011-12-29 13:22:55 PST
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?
Comment 1 Stephen Chenney 2012-04-06 11:07:47 PDT
Committed r113459: <http://trac.webkit.org/changeset/113459>