[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-03-25 16:46:40
Message-ID: 1143305200.155454.27487.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 522455 by buis:
The khtml width/height attr wins here, to be discussed with WildFox later.
M +3 -0 SVGRectElementImpl.cpp
M +3 -0 SVGSVGElementImpl.cpp
--- branches/work/khtml-svg/svg/SVGRectElementImpl.cpp #522454:522455
@@ -22,6 +22,7 @@
#include "misc/svgtags.h"
#include "misc/svgattrs.h"
+#include "misc/htmlattrs.h"
#include "SVGHelper.h"
#include "SVGRectElementImpl.h"
@@ -103,11 +104,13 @@
break;
}
case SVGATTR_WIDTH:
+ case ATTR_WIDTH:
{
width()->baseVal()->setValueAsString(value, ignoreException);
break;
}
case SVGATTR_HEIGHT:
+ case ATTR_HEIGHT:
{
height()->baseVal()->setValueAsString(value, ignoreException);
break;
--- branches/work/khtml-svg/svg/SVGSVGElementImpl.cpp #522454:522455
@@ -22,6 +22,7 @@
#include "misc/svgtags.h"
#include "misc/svgattrs.h"
+#include "misc/htmlattrs.h"
#include "KCanvasContainer.h"
#include "device/KRenderingDevice.h"
@@ -251,7 +252,9 @@
}
case SVGATTR_WIDTH:
+ case ATTR_WIDTH:
case SVGATTR_HEIGHT:
+ case ATTR_HEIGHT:
{
if(attr->id() == SVGATTR_WIDTH)
width()->baseVal()->setValueAsString(value, ignoreException);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic