blob: f7a2726e2cecee2a880b500b05a86dcf299c3ade [file] [log] [blame]
PASS with font-size: 10px, #target.style['line-height'] = 1e+26 should result in a used line-height of 9.999999146971785e+26px
PASS with font-size: 10px, #target.style['line-height'] = 2.53821 should result in a used line-height of 25.382099151611328px
PASS with font-size: 10px, #target.style['line-height'] = 2.6666667 should result in a used line-height of 26.666664123535156px
PASS with font-size: 10px, #target.style['line-height'] = 2.123456789123457 should result in a used line-height of 21.234567642211914px
PASS with font-size: 10px, #target.style['line-height'] = 2.5 should result in a used line-height of 25px
PASS with font-size: 10px, #target.style['line-height'] = 2 should result in a used line-height of 20px
PASS with font-size: 10px, #target.style['line-height'] = 1.05 should result in a used line-height of 10.5px
PASS with font-size: 10px, #target.style['line-height'] = 1.049 should result in a used line-height of 10.489999771118164px
PASS with font-size: 10px, #target.style['line-height'] = 1.0491 should result in a used line-height of 10.49100112915039px
PASS with font-size: 10px, #target.style['line-height'] = 0 should result in a used line-height of 0px
PASS with font-size: 10px, #target.style['line-height'] = 1 should result in a used line-height of 10px