Opened 13 years ago
Closed 12 years ago
#6684 closed bug (fixed)
css("top") (and similar getters) returns different values in different browsers
Reported by: | szajmon | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | css | Version: | 1.4.2 |
Keywords: | css, position, browser | Cc: | |
Blocked by: | Blocking: |
Description
if I do not specify certain elements' position values (top, left, etc.) in the CSS, then, when getting for example $(this).css("top"), different browsers give different values: in firefox (3.6.3) it returns a value, like 110px, while in ie8 and chrome it returns 'auto'.
see attached file in the mentioned browsers for a demo.
this difference can cause serious problems when using this value later.
Attachments (1)
Change History (2)
Changed 13 years ago by
Attachment: | jquery-css-bug.html added |
---|
comment:1 Changed 12 years ago by
Milestone: | 1.4.1 → 1.4.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.4.1 → 1.4.2 |
This was resolved in the CSS rewrite that landed recently.
Note: See
TracTickets for help on using
tickets.
demo for the bug report