Bug 151707 - SVG fragment identifiers customizing viewbox are ignored on SVG as Image
Summary: SVG fragment identifiers customizing viewbox are ignored on SVG as Image
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-12-01 10:49 PST by Bear Travis
Modified: 2016-12-08 18:17 PST (History)
4 users (show)

See Also:


Attachments
SVG Sprite Sheet with Custom Views (548 bytes, image/svg+xml)
2015-12-01 10:49 PST, Bear Travis
no flags Details
Test File (html) (611 bytes, text/html)
2015-12-01 10:52 PST, Bear Travis
no flags Details
Expected (left) vs Actual (right) (screenshot) (45.58 KB, image/png)
2015-12-01 10:55 PST, Bear Travis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bear Travis 2015-12-01 10:49:47 PST
Created attachment 266361 [details]
SVG Sprite Sheet with Custom Views

Related to bug 137328.

When loading as SVG as image, fragment identifiers specifying a custom viewBox or targeting a custom view within the SVG are ignored. You can see this by opening the attached test file.

This behavior is slightly different than the behavior prior to the fix for bug 137328. Before that, the images would render at a shared viewBox, which was most often incorrect. Now, the custom viewBox is ignored.

Tested in Safari 9.0.1 and WK Nightly.
Comment 1 Bear Travis 2015-12-01 10:52:29 PST
Created attachment 266362 [details]
Test File (html)
Comment 2 Bear Travis 2015-12-01 10:55:09 PST
Created attachment 266363 [details]
Expected (left) vs Actual (right) (screenshot)
Comment 3 Radar WebKit Bug Importer 2015-12-01 13:10:09 PST
<rdar://problem/23711206>