Skip to main content

Bug Tracker

Side navigation

#13538 closed bug (notabug)

Opened February 28, 2013 10:25PM UTC

Closed February 28, 2013 10:45PM UTC

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:

Instead of a jsfiddle, I'm including a link to the api docs, which exhibit the bug

If I go to

and click 'Get Paragraph Height', I get 36px in Chrome v25 and 34px in Firefox v19.

Attachments (0)
Change History (3)

Changed February 28, 2013 10:27PM UTC by dmethvin comment:1

owner: → meriial
status: newpending

Why is that a bug?

Changed February 28, 2013 10:31PM UTC by meriial comment:2

status: pendingnew

Why would I get a different value from the same function on the same page in different browsers?

Changed February 28, 2013 10:45PM UTC by dmethvin comment:3

resolution: → notabug
status: newclosed

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.