Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4014 closed bug (fixed)

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 (657 bytes) - added by ricardobeat 10 years ago.
Patch proposal
testCase_boxModel.htm (1.7 KB) - added by ricardobeat 10 years ago.
Test case

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by ricardobeat

Attachment: support.js.diff added

Patch proposal

Changed 10 years ago by ricardobeat

Attachment: testCase_boxModel.htm added

Test case

comment:1 Changed 10 years ago by dmethvin

Owner: set to john

comment:2 Changed 10 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [6180].

Note: See TracTickets for help on using tickets.