Bug Tracker

Modify

Ticket #11932 (closed bug: duplicate)

Opened 11 months ago

Last modified 11 months ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 11 months ago by eoconnor@…

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

comment:2 Changed 11 months ago by damien

comment:3 Changed 11 months ago by mikesherov

  • Status changed from new to closed
  • Resolution set to duplicate

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.

comment:4 Changed 11 months ago by mikesherov

Duplicate of #9505.

comment:5 Changed 11 months ago by mikesherov

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

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.