Bug Tracker

Modify

Ticket #8086 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

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

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

Description

Hi,

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

Change History

comment:1 Changed 2 years ago by dwt

Uhm, I mean on jsFiddle  http://jsfiddle.net/BMzct/

comment:2 Changed 2 years ago by dwt

and annotated it with the workaround

comment:3 Changed 2 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to duplicate

comment:4 Changed 2 years ago by rwaldron

Duplicate of #6894.

comment:5 Changed 2 years ago by dwt

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

comment:6 Changed 2 years ago by jitter

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

comment:7 Changed 2 years ago by rwaldron

#9416 is a duplicate of this ticket.

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

View

Add a comment

Modify Ticket

Action
as closed
Author


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

 
Note: See TracTickets for help on using tickets.