Bug in $.support.reliableMarginRight
|Reported by:||vlazar||Owned by:||vlazar|
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 (4)
comment:2 Changed 5 years ago by
|Component:||unfiled → support|
|Owner:||set to vlazar|
|Priority:||undecided → low|
|Status:||new → assigned|