shawnbot / aight

JavaScript shims and shams for making IE8-9 behave reasonably

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fontSize exception on load

arusahni opened this issue · comments

Hi,
I'm currently trying put aight in place to shim some IE8 compatibility, but am getting the following exception on load:

SCRIPT5007: Unable to get property 'fontSize' of undefined or null reference: aight.js, line 1535 character 3.

I'm at a loss w/ how to debug this.

This happens just when you include aight? Or are you trying to access an element's font size?

In my case this happens automatically on inclusion of aight. I'm not attempting to access the font size of any element.

@arusahni, @brianfeister Do you have example markup (and maybe CSS) somewhere? Or a live page to test this on?

@usmonster - in my case I was using aight incorrectly. Disregard my earlier comment.

Ah, thanks for the update anyway, @brianfeister!