Revision: 6081
Author: [email protected]
Date: Thu Sep  3 13:43:19 2009
Log: Fixes a bug in DOMImplTrident#getTagName() where it does not handle an  
undefined scope name.

Patch by: kerjin2001    
Review by: jlabanca


http://code.google.com/p/google-web-toolkit/source/detail?r=6081

Modified:
  /trunk/user/src/com/google/gwt/dom/client/DOMImplTrident.java

=======================================
--- /trunk/user/src/com/google/gwt/dom/client/DOMImplTrident.java       Wed Sep 
  
2 07:58:52 2009
+++ /trunk/user/src/com/google/gwt/dom/client/DOMImplTrident.java       Thu Sep 
  
3 13:43:19 2009
@@ -203,8 +203,7 @@
      String tagName = getTagNameInternal(elem);
      String scopeName = getScopeNameInternal(elem);

-    if ("html".equalsIgnoreCase(scopeName)
-        || "undefined".equalsIgnoreCase(scopeName)) {
+    if ((scopeName == null) || "html".equalsIgnoreCase(scopeName)) {
        return tagName;
      }


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to