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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Allan Sandfeld Jensen <kde () carewolf ! com>
Date:       2006-07-18 13:21:02
Message-ID: 1153228862.805723.17236.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 563771 by carewolf:

Fix for yet again broken replies in osnews.com. 
This implements the behavior on DOM level instead of at parsing. This also 
means that a reparsed DOM should work.
BUG: 116790


 M  +5 -0      html_formimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #563770:563771
@@ -890,6 +890,11 @@
     {
         if( p->id() == ID_FORM )
             return static_cast<HTMLFormElementImpl *>(p);
+        if( p->parentNode() && p->parentNode()->id() == ID_TABLE && p->previousSibling() )
+        {
+            p = p->previousSibling();
+            continue;
+        }
         p = p->parentNode();
     }
 #ifdef FORMS_DEBUG
[prev in list] [next in list] [prev in thread] [next in thread] 

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