#13472 closed bug (notabug)
jQuery css lineHeight doesn't append px to value
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('element').css({ height:100, width:100, lineHeight:100 })
Would result in a style of height:100px; width:100px; line-height:90;
px should be added to the end of the value for lineHeight.
Change History (3)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
Line heights can be unitless. https://developer.mozilla.org/en-US/docs/CSS/line-height
Note: See
TracTickets for help on using
tickets.
That should be line-height:100;, sorry. Not sure why I wrote 90!