Bug 130656 - Whitespace changes causing webkit to not render sections of SVG
Summary: Whitespace changes causing webkit to not render sections of SVG
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-23 18:56 PDT by Damon Smith
Modified: 2022-07-15 16:51 PDT (History)
2 users (show)

See Also:


Attachments
broken version - no whitespace between paths (1.97 KB, image/svg+xml)
2014-03-23 18:57 PDT, Damon Smith
no flags Details
Fixed - white space between paths (1.98 KB, image/svg+xml)
2014-03-23 18:58 PDT, Damon Smith
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damon Smith 2014-03-23 18:56:30 PDT
Attached are two SVGs, the only difference between them is that in the broken one, a path element starts at the end of a line and in the next there is a single space before the next path element. 

That is to say, if you take the broken one, go to the end of line 33 and add a space character between the end of the path and the start of the next one, the SVG suddenly renders properly.

The broken SVG renders correctly in Inkscape and Firefox, and renders incorrectly in Chrome/Windows, Chrome/MacOS, Safari/MacOS.
Comment 1 Damon Smith 2014-03-23 18:57:29 PDT
Created attachment 227619 [details]
broken version - no whitespace between paths
Comment 2 Damon Smith 2014-03-23 18:58:25 PDT
Created attachment 227620 [details]
Fixed - white space between paths
Comment 3 Brent Fulgham 2022-07-15 16:51:44 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.