Skip to main content

Bug Tracker

Side navigation

#2189 closed bug (duplicate)

Opened January 18, 2008 07:32PM UTC

Closed January 18, 2008 08:43PM UTC

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

Reported by: tuupola Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.2
Keywords: Cc:
Blocked by: Blocking:
Description

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 (0)
Change History (2)

Changed January 18, 2008 07:44PM UTC by tuupola comment:1

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

Changed January 18, 2008 08:43PM UTC by davidserduke comment:2

description: \ == 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]== 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]
resolution: → duplicate
status: newclosed

Dup of #2190 as author said.