SVGs with a viewbox specified do not work when used in an <img> tag or when used as an SVG image. See attached reduction.
Created attachment 17995 [details]
HTML of test
Created attachment 17996 [details]
SVG for test
This example can't work, since the referenced SVG is not accessible by calling black.svg. Can you add a new HTML file with the correct link please?
I think that the attached test should work if you download the files and open it locally.
Created attachment 95603 [details]
This works nowadays, adding the testcase.
Comment on attachment 95603 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=95603&action=review
> + SVGs with a viewBox work as background image nowadays, add a testcase covering it, orignally from Beth Dakin.
Landed in r87807.