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

List:       kde-commits
Subject:    branches/work/khtml-svg/svg
From:       Rob Buis <buis () kde ! org>
Date:       2006-04-23 16:07:03
Message-ID: 1145808423.876712.3368.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 533086 by buis:

Fix for webkit bug 7531.


 M  +4 -0      SVGPolyElementImpl.cpp  


--- branches/work/khtml-svg/svg/SVGPolyElementImpl.cpp #533085:533086
@@ -53,7 +53,11 @@
 void SVGPolyElementImpl::parseAttribute(DOM::AttributeImpl *attr)
 {
     if (attr->id() == SVGATTR_POINTS)
+    {
+        int ignoreException;
+        points()->clear(ignoreException);
         parsePoints(DOM::DOMString(attr->value()).string());
+    }
     else
     {
         if(SVGTestsImpl::parseAttribute(attr)) return;
[prev in list] [next in list] [prev in thread] [next in thread] 

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