Bug Tracker


Opened 6 years ago

Closed 6 years ago

#8281 closed bug (wontfix)

1.5 Mozilla Osx Bug

Reported by: anonymous Owned by: browser-firefox
Priority: low Milestone: 1.next
Component: manipulation Version: 1.5
Keywords: browserbug Cc:
Blocked by: Blocking:


With version 1.5, in mozilla, if I have some anchors with a specific style (ex. "color:green") and give an other style to their child divs (ex. : "color:red;"), and attach them via jquery on document.ready, the child divs style will not displayed.

Here the example of the code showing this case with 3 anchors, where second and third ones have the sub-div setted via jquery and the first one has already the div on the html document.

Change History (2)

comment:1 Changed 6 years ago by jitter

  • Component changed from unfiled to manipulation
  • Keywords browserbug added
  • Owner set to browser-firefox
  • Priority changed from undecided to low
  • Status changed from new to assigned

Thanks for taking the time to contribute to the jQuery project by writing a bug report.

As this test case shows this isn't a jQuery bug but a bug in FF 3.6.13 (fixed in FF4.b.something) when setting the innerHTML property.

You can workaround this by using something along these lines

$("a.change").each(function() {
    var tmp = $(this).text();
    $(this).empty().append("<div>" + tmp + "</div>")

comment:2 Changed 6 years ago by jitter

  • Resolution set to wontfix
  • Status changed from assigned to closed

Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Modify Ticket

Change Properties

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.