Skip to main content

Bug Tracker

Side navigation

#11932 closed bug (duplicate)

Opened June 19, 2012 07:58AM UTC

Closed June 21, 2012 03:14PM UTC

Last modified June 21, 2012 03:15PM UTC

Reading left (and perhaps others) when % returns px in Opera & FF

Reported by: remysharp Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Example: http://jsbin.com/3/opufet/2

In Chrome (and Webkit based) value returns 50%.

In Firefox and Opera (not tested IE) value returns actual px value.

Should return consistent value - preferably the unit specified.

Attachments (0)
Change History (5)

Changed June 20, 2012 04:51PM UTC by eoconnor@apple.com comment:1

Please let me know if you think this is a bug in WebKit.

Changed June 21, 2012 02:51PM UTC by damien comment:2

Changed June 21, 2012 03:14PM UTC by mikesherov comment:3

resolution: → duplicate
status: newclosed

This is a bug in webkit, and noted in source (https://github.com/jquery/jquery/blob/master/src/css.js#L566), and is a dupe of #9505.

Notice who is commenting on that bug report ;) https://bugs.webkit.org/show_bug.cgi?id=29084#c16

If anything, we're going to normalize to pixels, because that's the direction the browsers are going in, and is more useful for us internally.

Changed June 21, 2012 03:14PM UTC by mikesherov comment:4

Duplicate of #9505.

Changed June 21, 2012 03:15PM UTC by mikesherov comment:5

btw, I had also submitted a bug to W3C: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16389