Bug Tracker

Ticket #2189 (closed bug: duplicate)

Opened 11 months ago

Last modified 11 months ago

width() and height() after form is appended to inline element

Reported by: tuupola Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.2.2 Component: core
Version: 1.2.2 Keywords:
Cc: Needs: Review

Description (last modified by davidserduke) (diff)

Symptons

If inline element is appended a form element and later this form element is removed, all subsequent calls to $(elem).width() and $(elem).height() return 0.

Block level elements seem to be unaffected.

Example page

Attachments

Change History

Changed 11 months ago by tuupola

Uh sorry about accidental submit. Correct bug report here: http://dev.jquery.com/ticket/2190

Changed 11 months ago by davidserduke

  • status changed from new to closed
  • resolution set to duplicate
  • description changed from == Symptons == If inline element is appended a form element and later this form element is removed, all subsequent calls to $(elem).width() and $(elem).height() return 0. Block level elements seem to be unaffected. [http://www.appelsiini.net/bugs/disappearing_width_height.html Example page] to == Symptons == If inline element is appended a form element and later this form element is removed, all subsequent calls to $(elem).width() and $(elem).height() return 0. Block level elements seem to be unaffected. [http://www.appelsiini.net/bugs/disappearing_width_height.html Example page]

Dup of #2190 as author said.

Note: See TracTickets for help on using tickets.