simplified code

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8914 5f5364db-9458-4db8-a492-e30667be6df6
simplified code

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8915 5f5364db-9458-4db8-a492-e30667be6df6
don't use getCurrentStyle any longer, this method will return null for detached elements (IE)

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8916 5f5364db-9458-4db8-a492-e30667be6df6
don't use getCurrentStyle any longer, this method will return null for detached elements (IE)

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8917 5f5364db-9458-4db8-a492-e30667be6df6
make isDirectlyAttachedToPage public and mark as internal api

git-svn-id: svn://svn.code.sf.net/p/htmlunit/code/trunk@8918 5f5364db-9458-4db8-a492-e30667be6df6