[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       Zack Rusin <zack () kde ! org>
Date:       2004-06-06 19:40:51
Message-ID: 20040606194051.795FF126E6 () office ! kde ! org
[Download RAW message or body]

CVS commit by zrusin: 

Do html lookups if specified even if not
in a html document since elements can be in xhtml the namespace.


  M +1 -1      dom_docimpl.cpp   1.276


--- kdelibs/khtml/xml/dom_docimpl.cpp  #1.275:1.276
@@ -1687,5 +1687,5 @@ NodeImpl::Id DocumentImpl::getId( NodeIm
     QConstString n(_name->s, _name->l);
     bool cs = true; // case sensitive
-    if (lookupHTML && isHTMLDocument() && _type != NodeImpl::NamespaceId) {
+    if (lookupHTML && _type != NodeImpl::NamespaceId) {
         // Each document maintains a mapping of tag name -> id for every tag name encountered
         // in the document.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic