Ticket #11919 (closed bug: invalid)
IE: jQuery .css() returns value in pixels instead of unit of measure provided by stylesheet
| Reported by: | elwayman02 | Owned by: | elwayman02 |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
For example, if a div has a max-width of 97%, calling divObj.css("max-width") in Internet Explorer will return the computed number of pixels that percentage takes up currently, rather than the percentage itself. This only happens in IE, not in other browsers.
This seems like a related problem to #4296, but apparently the fix for that issue was not applied to other css attributes.
Change History
comment:1 Changed 11 months ago by mikesherov
- Owner set to elwayman02
- Status changed from new to pending
comment:2 Changed 11 months ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Please provide a fiddle demonstrating the issue using the latest jQuery, not version 1.7.1.