Skip to main content

Bug Tracker

Side navigation

#13472 closed bug (notabug)

Opened February 18, 2013 11:53AM UTC

Closed February 24, 2013 09:32PM UTC

Last modified May 06, 2013 04:29PM UTC

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.

Attachments (0)
Change History (3)

Changed February 18, 2013 11:55AM UTC by anonymous comment:1

That should be line-height:100;, sorry. Not sure why I wrote 90!

Changed February 24, 2013 09:32PM UTC by dmethvin comment:2

resolution: → notabug
status: newclosed

Changed May 06, 2013 04:29PM UTC by timmywil comment:3

#13855 is a duplicate of this ticket.