View unanswered posts | View active topics It is currently Wed Jan 22, 2020 1:42 pm

Reply to topic  [ 1 post ] 
 IE9 Error Thrown When Creating Linear Gradient 
Author Message

Joined: Tue Oct 02, 2012 7:57 am
Posts: 11
Post IE9 Error Thrown When Creating Linear Gradient
in PIE_IE9_uncompressed.js, line 2221, an error is thrown because startX, startY, endX, and endY are all NaN. Tracking it back, I see that bgWidth and bgHeight are NaN, which seems to happen when in the draw function. for whatever reason, the bgAreaSize (line 2183) is 0 for width and height, and in the pixels function, it ends up doing 0/0, which is giving it NaN (it's probably meant to be 1). Now as for why the bgAreaSize is being set like it is for these elements, I'm not sure, but I did notice that one of the parameters to the getBgAreaSize function is bg.bgOrigin, but bg is explicitly set as an array, so it should never have that property.

At any rate, you should probably take a quick look at these functions.

Fri Sep 13, 2013 8:11 am
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.