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

List:       konq-bugs
Subject:    [Bug 225247] some pages are displayed corrupted on vmware site
From:       Andrea Iacovitti <aiacovitti () libero ! it>
Date:       2010-10-30 12:19:19
Message-ID: 20101030121919.4C18972CF6 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=225247





--- Comment #11 from Andrea Iacovitti <aiacovitti libero it>  2010-10-30 14:19:17 ---
Found the problem is caused by <LI> tags (Doesn't have a tescase atm, sorry)
That's regressed by r724766 where following changes, in html/htmlparser.cpp and
html/dtd.cpp, involved ID_LI :

html/htmlparser.cpp
@@ -988,7 +985,7 @@
         n = new HTMLMenuElementImpl(document);
         break;
     case ID_LI:
-        popBlock(ID_LI);
+        popOptionalBlock(ID_LI);
         n = new HTMLLIElementImpl(document);
         break;
 // formatting elements (block)

html/dtd.cpp
@@ -105,10 +103,10 @@
     1, // ID_LABEL
     1, // ID_LAYER
     1, // ID_LEGEND
-    3, // ID_LI
+    5, // ID_LI
     0, // ID_LINK
     1, // ID_MAP
-    3, // ID_MARQUEE
+    5, // ID_MARQUEE
     5, // ID_MENU
     0, // ID_META
     5, // ID_NOBR

I just tried to revert html/dtd.cpp ID_LI part, that is i modified line
    5, // ID_LI
to
    3, // ID_LI

and the bug has gone.
(Tested with KDE 4.4.5)

Hope this help.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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