[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-15 20:00:06
Message-ID: 1150401606.328748.26833.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 551858 by carewolf:
Don't put content under already malformed FORMs in malformed TABLEs
BUG:122884
M +5 -0 htmlparser.cpp
--- branches/KDE/3.5/kdelibs/khtml/html/htmlparser.cpp #551857:551858
@@ -329,6 +329,10 @@
#ifdef PARSER_DEBUG
kdDebug( 6035 ) << "added " << n->nodeName().string() << " to " << \
tmp->nodeName().string() << ", new current=" << newNode->nodeName().string() << endl; \
#endif + // We allow TABLE > FORM in dtd.cpp, but do not allow form have \
children in this case + if (current->id() == ID_TABLE && id == ID_FORM) {
+ flat = true;
+ }
// don't push elements without end tag on the stack
if(tagPriority[id] != 0 && !flat) {
@@ -353,6 +357,7 @@
if(n->isInline()) m_inline = true;
}
+
#if SPEED_DEBUG < 1
if(tagPriority[id] == 0 && n->renderer())
n->renderer()->calcMinMaxWidth();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic