[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-10-20 12:21:02
Message-ID: 1161346862.004696.15848.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 597449 by carewolf:

Firefox rather arbitrarily doesn't allow TABLEs inside Anchors. 
Lets match that restriction.
BUG: 135050


 M  +1 -0      dtd.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/dtd.cpp #597448:597449
@@ -597,6 +597,7 @@
     case ID_NOBR:
     case ID_WBR:
         // _1 *
+        if(tagID == ID_A && childID == ID_TABLE) return false;
         return check_array(childID, tag_list_1) || check_array(childID, tag_list_6);
     case ID_P:
         // P: ( _0 | TABLE | NOSCRIPT) *
[prev in list] [next in list] [prev in thread] [next in thread] 

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