Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#13695 closed bug (wontfix)

Return wrong value in percent

Reported by: Huy Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:


Hello, I got a bug of jquery need to report:

<div style="width:200px;">

<textarea class="item">parent is hidden. width() represents width in px hovewer it's in percent.</textarea>


.item {

width: 224.43%;


$(document).ready(function() {



Returned width is: 449px but I want to get value in percent (mean 224.43)


Change History (2)

comment:1 Changed 10 years ago by mikesherov

Resolution: wontfix
Status: newclosed

Thanks for contributing! For width and height, the pixel value is always returned. All browsers do this according to the CSSOM standard. While this is also a cantfix, it's also a wontfix.

comment:2 Changed 10 years ago by anonymous

Thanks for your reply. This happens margin and padding. Is it a cantfix as well?

Note: See TracTickets for help on using tickets.