Skip to main content

Bug Tracker

Side navigation

#12926 closed bug (notabug)

Opened November 20, 2012 12:34PM UTC

Closed November 26, 2012 10:10PM UTC

$.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.

Attachments (0)
Change History (3)

Changed November 20, 2012 03:23PM UTC by dmethvin comment:1

owner: → 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?

Changed November 26, 2012 10:07PM UTC by M.Gaetan89 comment:2

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.

Changed November 26, 2012 10:10PM UTC by dmethvin comment:3

resolution: → notabug
status: newclosed