From: SourceForge.net <no...@so...> - 2009-03-20 15:04:31
|
Bugs item #2697650, was opened at 2009-03-20 11:04 Message generated for change (Tracker Item Submitted) made by javacocoon You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2697650&group_id=47038 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: java cocoon (javacocoon) Assigned to: Nobody/Anonymous (nobody) Summary: TypeError: Cannot set property "position" of null Initial Comment: Hi - Getting the following ScriptError. A piece of html/javascript that was used to reproduce the issue is attached below. Version: htmlunit-2.5-snapshot.jar with all proper dependencies Error: ---------------------- com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot set property "position" of null to "relative" ----------------------- Html/Javascript code piece used to reproduce the issue -------------------- <html> <body> <script type="text/javascript"> img1 = new Image(200,20); img1.style.position = "relative"; </script> </body> </html> --------------------------------------------- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=2697650&group_id=47038 |