[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/css
From: Maks Orlovich <maksim () kde ! org>
Date: 2005-06-24 0:14:52
Message-ID: 1119572092.221203.4108.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 428400 by orlovich:
Merge a WebCore fix for XML tags being interpreted as HTML ones. No new regressions;
actually, makes one testcase look much better, will update the baseline for that.
Note: this is dependent on the last commit to css_base.h
M +3 -2 cssstyleselector.cpp
--- trunk/KDE/kdelibs/khtml/css/cssstyleselector.cpp #428399:428400
@@ -949,8 +949,9 @@
Q_UINT16 selLocalName = localNamePart(sel->tag);
Q_UINT16 selNS = namespacePart(sel->tag);
- if (selNS == xhtmlNamespace && localName < ID_LAST_TAG)
- selNS = anyNamespace; // Always match HTML elements even when in HTML \
docs. + if (localName <= ID_LAST_TAG && e->isHTMLElement())
+ ns = xhtmlNamespace; // FIXME: Really want to move away from this \
complicated hackery and just + // switch tags and \
attr names over to AtomicStrings.
if ((selLocalName != anyLocalName && localName != selLocalName) ||
(selNS != anyNamespace && ns != selNS))
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic