I'm currently working on a simple sliding animation. However, the div that slides in is utilizing percentages for its width and right positioning.
The issue arises specifically in Webkit browsers. When using jQuery to retrieve the value, it returns the percentage itself rather than the calculated value based on the parent element's width, which is the case in Firefox.
Check out this example here: http://jsfiddle.net/flisterz/ChZLu/
Click the trigger, and you'll notice that the "right" value displays as a percentage on your first click in Webkit (only on the first click). In contrast, Firefox correctly calculates the "right" value even on the first click.
Any advice would be greatly appreciated. Thank you!