Skip to main content

Bug Tracker

Side navigation

#11337 closed bug (fixed)

Opened February 13, 2012 02:45PM UTC

Closed February 24, 2012 04:40AM UTC

Last modified March 02, 2012 04:18PM UTC

Bug in $.support.reliableMarginRight

Reported by: vlazar Owned by: vlazar
Priority: low Milestone: 1.7.2
Component: support Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

Fix for Webkit bug (see #3333) doesn't work.

I have the following test failures in Safari 5.0.5:

  • css.js - marginRight computed style (bug #3333)
  • dimensions.js - child of a hidden elem has accurate inner/outer/Width()/Height() see #9441 #9300


The value for $.support.reliableMarginRight is calculated before document.body is available, which doesn't work. To properly calculate reliableMarginRight the test div should be appended to body.

See also http://jsfiddle.net/rH4zW/

Attachments (0)
Change History (4)

Changed February 13, 2012 03:03PM UTC by vlazar comment:1

I've just submitted a pull request https://github.com/jquery/jquery/pull/683

Changed February 13, 2012 03:27PM UTC by timmywil comment:2

component: unfiledsupport
owner: → vlazar
priority: undecidedlow
status: newassigned

Changed February 24, 2012 04:40AM UTC by Vladislav Zarakovsky comment:3

resolution: → fixed
status: assignedclosed

Fix #11337. Properly calculate $.support.reliableMarginRight.

Changeset: 1c35f3816a3b1be0855dcea8ab212af506e91f83

Changed March 02, 2012 04:18PM UTC by dmethvin comment:4

milestone: None1.7.2