Axure / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

PNG assets (bg / img) inside iframe in IE6 trigger javascript errors stopping script execution. #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. embed iframe within html page
2. give it lots of png transparency items
3. and a transparent background

What is the expected output? What do you see instead?
Expect a fully rendered web page.
See a half web page with broken png images ( partially, some are ok, e.g. the 
ones in img tags)

What version of the product are you using? On what operating system?
IE6, Windows XP SP2

Please provide any additional information below.

Surrounded accessor to document.activeElement with try/catch exception block to 
prevent script 
from stopping execution in case where document.activeElement triggers an 
'unspecified error'.

When assigning to runtimeStyle, make a check that the element has a 
parentElement, otherwise 
script will stop its execution. 

Both of these are IE6 errors i noticed while testing a site within an iframe.

This patch corrects those and makes the page render properly.

Original issue reported on code.google.com by Patrick....@gmail.com on 3 Jun 2009 at 5:11

Attachments:

GoogleCodeExporter commented 9 years ago
I'd much rather have a test case than a patch. The parentElement element bug 
has been 
fixed. I'm not sure about the other bug. Which document has IE7.js loaded? The 
parent 
document or the iframe? Can you provide a test page please?

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 1:11

GoogleCodeExporter commented 9 years ago

Original comment by dean.edw...@gmail.com on 14 Feb 2010 at 4:21