Bug Tracker

Changes between Initial Version and Version 1 of Ticket #10639


Ignore:
Timestamp:
Nov 5, 2011, 5:50:22 PM (8 years ago)
Author:
timmywil
Comment:

Confirmed. Probably related to the effects percentage issue.

Test case ported to jsfiddle: http://jsfiddle.net/timmywil/u4F8m/

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10639

    • Property Status changed from new to open
    • Property Component changed from unfiled to css
    • Property Summary changed from outerWidth(true) and css('margin') returning % instead of px on iOS5 to outerWidth(true) and css('margin') returning % instead of px in Webkit
    • Property Priority changed from undecided to high
    • Property Milestone changed from None to 1.next
  • Ticket #10639 – Description

    initial v1  
    1 If you have a relative margin (defined in %), jQuery(element).css('margin-right') will normally return the margin value in pixels not in percentage. In iOS5, this is not the case.
     1If you have a relative margin (defined in %), jQuery(element).css('margin-right') will normally return the margin value in pixels not in percentage. In Webkit, this is not the case.
    22
    33The method jQuery(element).outerWidth returns in IOS5 the addition of width (pixel) and margin (percentage) which mixes two different measures.