Bug 147294 - The border-image css property does not use the correct coordinates of an .svg file. all corners are 0,0
Summary: The border-image css property does not use the correct coordinates of an .svg...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-25 02:32 PDT by Joel Glovacki
Modified: 2015-07-26 15:20 PDT (History)
2 users (show)

See Also:


Attachments
example (2.72 KB, application/zip)
2015-07-25 02:32 PDT, Joel Glovacki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Glovacki 2015-07-25 02:32:07 PDT
Created attachment 257512 [details]
example

The border-image css property does not use the correct coordinates of an .svg file. 
Using a png works as expected.

you can see the issue here using webkit nightly / safari 9: 
http://codepen.io/saetia/pen/JdmOEY/?editors=110 

how webkit renders it:
https://dl.dropboxusercontent.com/s/0u07qz9wazck8gl/Screen%20Shot%202015-07-25%20at%204.04.34%20AM.png?dl=0

how it should look (safari 8, chrome, firefox):
https://dl.dropboxusercontent.com/s/hlvkghqf9va2sh3/Screen%20Shot%202015-07-25%20at%204.04.11%20AM.png?dl=0
Comment 1 Joel Glovacki 2015-07-25 02:35:45 PDT
dah, sorry. those dropbox examples should be reversed.

how it should look: 
https://dl.dropboxusercontent.com/s/0u07qz9wazck8gl/Screen%20Shot%202015-07-25%20at%204.04.34%20AM.png?dl=0

how it looks with latest webkit:
https://dl.dropboxusercontent.com/s/hlvkghqf9va2sh3/Screen%20Shot%202015-07-25%20at%204.04.11%20AM.png?dl=0