Bug Tracker

Modify

Ticket #11337 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

Bug in $.support.reliableMarginRight

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

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/

Change History

comment:1 Changed 2 years ago by vlazar

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

comment:2 Changed 2 years ago by timmywil

  • Owner set to vlazar
  • Priority changed from undecided to low
  • Status changed from new to assigned
  • Component changed from unfiled to support

comment:3 Changed 2 years ago by Vladislav Zarakovsky

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Changeset: 1c35f3816a3b1be0855dcea8ab212af506e91f83

comment:4 Changed 2 years ago by dmethvin

  • Milestone changed from None to 1.7.2

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.