[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/css
From: Allan Sandfeld Jensen <kde () carewolf ! com>
Date: 2007-10-06 16:47:20
Message-ID: 1191689240.768938.30302.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 722108 by carewolf:
Attribute selectors should be namespace aware
M +2 -1 cssstyleselector.cpp
--- trunk/KDE/kdelibs/khtml/css/cssstyleselector.cpp #722107:722108
@@ -1127,7 +1127,8 @@
if(sel->attr)
{
- DOMStringImpl* value = e->getAttributeImpl(sel->attr);
+ bool nsAware = (namespacePart(sel->attr) != anyNamespace);
+ DOMStringImpl* value = e->getAttributeImpl(sel->attr, nsAware);
if(!value) return false; // attribute is not set
// attributes are always case-sensitive in XHTML
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic