Skip to main content

Bug Tracker

Side navigation

#4014 closed bug (fixed)

Opened January 28, 2009 06:43PM UTC

Closed February 07, 2009 05:15PM UTC

boxModel check affects page layout

Reported by: ricardobeat Owned by: john
Priority: minor Milestone: 1.3.2
Component: support Version: 1.3.1
Keywords: boxmodel, layout, IE6 Cc:
Blocked by: Blocking:
Description

The DIV inserted by the check for box model in use in support.js (line 89+) affects page layout in IE6. The problem seems to be caused by the offsetWidth check - for some reason accessing that property triggers a rendering update.

The proposed patch adds display:none to the DIV after removing it, which leaves the layout intact.

Original test case at http://groups.google.com/group/jquery-dev/browse_thread/thread/9e1a44a5ff6df73e?hl=en

Attachments (2)
  • support.js.diff (0.6 KB) - added by ricardobeat January 28, 2009 06:44PM UTC.

    Patch proposal

  • testCase_boxModel.htm (1.7 KB) - added by ricardobeat January 28, 2009 06:51PM UTC.

    Test case

Change History (2)

Changed January 29, 2009 12:21AM UTC by dmethvin comment:1

owner: → john

Changed February 07, 2009 05:15PM UTC by john comment:2

resolution: → fixed
status: newclosed

Fixed in SVN rev [6180].