RESOLVED FIXED Bug 113573
Retrieved style property is missing url(…)
https://bugs.webkit.org/show_bug.cgi?id=113573
Summary Retrieved style property is missing url(…)
Jason Davies
Reported 2013-03-29 06:05:56 PDT
Retrieving a style property value such as fill: url(#fill) returns "#fill", when it should be "url(#fill)". This occurs when using window.getComputedStyle as well as retrieving the property from the element style directly. This breaks code that needs to modify such an IRI value, e.g. it can be mistaken for a hex colour. It also breaks any code that attempts to dump the SVG programmatically, since fill: #fill is invalid.
Attachments
Safari 15.5 output same as other browsers (1.59 MB, image/png)
2022-05-30 05:41 PDT, Ahmad Saleem
no flags
Ahmad Saleem
Comment 1 2022-05-30 05:41:58 PDT
Created attachment 459859 [details] Safari 15.5 output same as other browsers It is producing same output as other browsers as shown in attached screenshot. I would consider it as "Not Applicable", if it is Web Spec issue, it would be something to sort out differently. In case, there was an issue in my testing, please re-test as well. Thanks!
Jason Davies
Comment 2 2022-05-30 07:01:52 PDT
I'm guessing this has been fixed at some point in the last 9 years!
Note You need to log in before you can comment on or make changes to this bug.