Bug Tracker

Opened 6 years ago

Closed 6 years ago

#12926 closed bug (notabug)

$.replaceWith('svg')

Reported by: M.Gaetan89 Owned by: M.Gaetan89
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

On my page, I have an image. I'm making an AJAX request to get some data and them replace the image with an SVG image, by using $.replaceWith(). But I noticed that by doing this, the stroke property is broken on Google Chrome (it works fine on Mozilla Firefox and Internet Explorer).

I'm not sure wether it's a bug in jQuery, Google Chrome or in my way to do this.

You can see the result here.

Change History (3)

comment:1 Changed 6 years ago by dmethvin

Owner: set to M.Gaetan89
Status: newpending

jQuery is a DOM HTML library, not an SVG library. Manipulating SVG is generally out of scope for us. Your sample page has a lot going on. Can you create a simple test case on jsFiddle?

comment:2 Changed 6 years ago by M.Gaetan89

Status: pendingnew

Hello,

Sorry for the lack of news.

I tried to create the JSFiddle, but couldn't reproduce the bug. After some research I figured out it was an issue with the SVG being resized by Twitter Bootstrap style. I'll see what I can do from here.

I think you can close this issue, sorry for the inconveniance.

comment:3 Changed 6 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.