This project is archived and is in readonly mode.

#647 ✓resolved
nak5ive

Inconsistent font-size returned from getStyle() on body tag

Reported by nak5ive | April 22nd, 2009 @ 10:25 PM | in 2.0 (closed)

While using a popular css framework (blueprint) and MooTools 1.2.1, I noticed that Firefox and IE6 report different values for the following statement.


$(document.body).getStyle('font-size').toInt();

Blueprint sets the default font-size on the body tag at 75%

Firefox reports a value of 12 for the above statement (interpreting 75% into its pixel equivalent).

IE6 reports a value of 75.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages