Opened 11 years ago
Closed 11 years ago
#13538 closed bug (notabug)
height() method returns different values in Chrome and Firefox
Reported by: | meriial | Owned by: | meriial |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Instead of a jsfiddle, I'm including a link to the api docs, which exhibit the bug
If I go to
http://api.jquery.com/height/#example-0
and click 'Get Paragraph Height', I get 36px in Chrome v25 and 34px in Firefox v19.
Change History (3)
comment:1 Changed 11 years ago by
Owner: | set to meriial |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Status: | pending → new |
---|
Why would I get a different value from the same function on the same page in different browsers?
comment:3 Changed 11 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
They have different default stylesheets? I don't see anything in the example that specifies all the paragraph properties in a way that ensures you get the same height. Seems fine to me. Ask around on StackOverflow and see what the hive mind thinks of that assertion.
Note: See
TracTickets for help on using
tickets.
Why is that a bug?