WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
127490
[Win] Expected result for LayoutTests/svg/W3C-SVG-1.1/paths-data-03-f.html differs slightly to Mac result
https://bugs.webkit.org/show_bug.cgi?id=127490
Summary
[Win] Expected result for LayoutTests/svg/W3C-SVG-1.1/paths-data-03-f.html di...
Daniel Bates
Reported
2014-01-23 09:15:37 PST
The layout test LayoutTests/svg/W3C-SVG-1.1/paths-data-03-f.html is failing on the Windows {Debug, Release} bots and differs by a single numerical number: plasma:OpenSource dbates$ diff -u LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt --- LayoutTests/platform/mac/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt 2013-11-26 13:07:28.000000000 -0800 +++ LayoutTests/platform/win/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt 2014-01-23 08:57:44.000000000 -0800 @@ -24,7 +24,7 @@ chunk 1 text run 1 at (390.00,300.00) startOffset 0 endOffset 4 width 23.00: "M, a" RenderSVGRect {rect} at (348,243) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=348.00] [y=243.00] [width=4.00] [height=4.00] RenderSVGRect {rect} at (428,303) size 4x4 [fill={[type=SOLID] [color=#0000FF]}] [x=428.00] [y=303.00] [width=4.00] [height=4.00] - RenderSVGPath {path} at (252,29) size 209x100 [fill={[type=SOLID] [color=#C0C000] [fill rule=EVEN-ODD]}] [data="M 270 30 C 252.272 50.1015 253.547 80.6061 272.891 99.158 C 292.234 117.71 322.766 117.71 342.109 99.158 C 361.453 80.6061 362.728 50.1015 345 30 C 325.402 41.3151 315.847 64.383 321.704 86.2422 C 327.561 108.101 347.37 123.301 370 123.301 C 392.63 123.301 412.439 108.101 418.296 86.2422 C 424.153 64.383 414.598 41.3151 395 30 C 370.621 36.2946 354.726 59.7348 357.898 84.7125 C 361.071 109.69 382.322 128.412 407.5 128.412 C 432.678 128.412 453.929 109.69 457.101 84.7125 C 460.274 59.7348 444.379 36.2946 420 30 Z"] + RenderSVGPath {path} at (252,29) size 209x100 [fill={[type=SOLID] [color=#C0C000] [fill rule=EVEN-ODD]}] [data="M 270 30 C 252.272 50.1015 253.547 80.606 272.891 99.158 C 292.234 117.71 322.766 117.71 342.109 99.158 C 361.453 80.6061 362.728 50.1015 345 30 C 325.402 41.3151 315.847 64.383 321.704 86.2422 C 327.561 108.101 347.37 123.301 370 123.301 C 392.63 123.301 412.439 108.101 418.296 86.2422 C 424.153 64.383 414.598 41.3151 395 30 C 370.621 36.2946 354.726 59.7348 357.898 84.7125 C 361.071 109.69 382.322 128.412 407.5 128.412 C 432.678 128.412 453.929 109.69 457.101 84.7125 C 460.274 59.7348 444.379 36.2946 420 30 Z"] RenderSVGText {text} at (280,124) size 62x14 contains 1 chunk(s) RenderSVGInlineText {#text} at (0,0) size 62x14 chunk 1 text run 1 at (280.00,135.00) startOffset 0 endOffset 13 width 62.00: "M, A, a, a, z" Looking at the same position in the Windows expected results as the substring "253.547 80.6061" in the Mac expected result, we see "253.547 80.606". Notice the second value in the substring is 80.6061 on Mac and 80.606 on Windows.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug