[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-06-04 21:34:50
Message-ID: 1149456890.433212.7624.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 548216 by carewolf:

Don't assume that a website that sends us a broken crappy DOCTYPE is going
to be even remotely parsable in strict mode.


BUG: 128616


 M  +2 -2      html_documentimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/html_documentimpl.cpp #548215:548216
@@ -475,8 +475,8 @@
             // Look up the entry in our gperf-generated table.
             const PubIDInfo* doctypeEntry = findDoctypeEntry(pubIDStr, publicID.length());
             if (!doctypeEntry) {
-                // The DOCTYPE is not in the list.  Assume strict mode.
-                pMode = Strict;
+                // The DOCTYPE is not in the list.  Assume compatible mode.
+                pMode = Compat;
                 hMode = Html4;
                 return;
             }
[prev in list] [next in list] [prev in thread] [next in thread] 

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