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

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       Germain Garand <germain () ebooksfrance ! com>
Date:       2005-10-19 8:48:11
Message-ID: 1129711691.949788.22720.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 471915 by ggarand:

when in non-strict mode, be more lax about allowed children of HTML Headings.

BUG: 71695, 110286



 M  +2 -1      dtd.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/dtd.cpp #471914:471915
@@ -605,7 +605,8 @@
     case ID_H5:
     case ID_H6:
         // _0 *
-        return check_array(childID, tag_list_0);
+        return check_array(childID, tag_list_0) || 
+               (!strict && check_array(childID, tag_list_3) && (childID < ID_H1 || childID > ID_H6));
     case ID_BASEFONT:
     case ID_BR:
     case ID_AREA:
[prev in list] [next in list] [prev in thread] [next in thread] 

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