Skip to main content

Bug Tracker

Side navigation

#8086 closed bug (duplicate)

Opened January 28, 2011 10:16PM UTC

Closed January 28, 2011 11:30PM UTC

Last modified May 24, 2011 10:44PM UTC

Firefox: can't insert form inside form with html - but with append

Reported by: dwt Owned by:
Priority: undecided Milestone:
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


I've noticed that Firefox can't insert a form inside a p inside another form with .htm(). The same works fine with html('').append(...)

Debugging this seems as if Firefox just silently ignores the this[i].innerHTML = value in html() - nut sure whats up there.

Reduction appended

Attachments (0)
Change History (7)

Changed January 28, 2011 10:19PM UTC by dwt comment:1

Uhm, I mean on jsFiddle

Changed January 28, 2011 10:22PM UTC by dwt comment:2

and annotated it with the workaround

Changed January 28, 2011 11:30PM UTC by rwaldron comment:3

resolution: → duplicate
status: newclosed

Changed January 28, 2011 11:30PM UTC by rwaldron comment:4

Duplicate of #6894.

Changed January 29, 2011 10:54AM UTC by dwt comment:5

I disagree, the problem is that the form is not inserted, not that it can't be selected.

Changed January 29, 2011 05:22PM UTC by jitter comment:6

The answer on the ticket linked to above applies also to this report.

nested forms are invalid and the browser isn't obligated to do anything predictable with invalid html

Changed May 24, 2011 10:44PM UTC by rwaldron comment:7

#9416 is a duplicate of this ticket.