[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 146165] Konqueror not applying CSS to MENU elements correctly
From: Maksim Orlovich <maksim () kde ! org>
Date: 2007-05-31 15:25:09
Message-ID: 20070531152509.4006.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=146165
------- Additional Comments From maksim kde org 2007-05-31 17:25 -------
There are at least couple factors in that... Here are some diffs in their handling at \
least:
1) dtd.cpp treats them a bit differently --- that actually matches the official \
DTD(!) but I suspect that's in error... but doing the below doesn't seem to make a \
diff (I really need that DOM tree viewer built!)
--- html/dtd.cpp (revision 669932)
+++ html/dtd.cpp (working copy)
@ -674,13 +674,11 @
return check_array(childID, tag_list_6) || check_array(childID, tag_list_1);
case ID_OL:
case ID_UL:
+ case ID_DIR:
+ case ID_MENU:
// OL: LI +
+ // For DIR and MENU, the DTD says - %block, but it contradicts spec \
language.. return check_array(childID, tag_list_1);
- case ID_DIR:
- case ID_MENU:
- // (DIR|MENU): LI + - _3
- if(childID == ID_LI) return true;
- return false;
case ID_FORM:
// FORM: _1 * - FORM
return check_array(childID, tag_list_1);
.. Oh, woops, there is also additional stuff in add/removeForbidden. WIll try with it
2) the default style sheet doesn't quite handle them the same...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic