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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/css
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2010-01-18 4:21:25
Message-ID: 1263788485.078218.32556.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1076382 by ggarand:

the empty string is as valid CSS namespace.

cf. CSS3 Namespaces module - 3.1 : "All strings—including the empty string
and strings representing invalid URIs—are valid namespace names in
@namespace  declarations.

 M  +1 -1      css_stylesheetimpl.cpp  


--- trunk/KDE/kdelibs/khtml/css/css_stylesheetimpl.cpp #1076381:1076382
@@ -239,7 +239,7 @@
 
 void CSSStyleSheetImpl::addNamespace(CSSParser* /*p*/, const DOM::DOMString& prefix, \
const DOM::DOMString& uri)  {
-    if (uri.isEmpty())
+    if (uri.isNull())
         return;
 
     m_namespaces = new CSSNamespace(prefix, uri, m_namespaces);


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

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