summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2008-07-22 12:05:49 +0000
committerJucaBlues <JucaBlues@users.sourceforge.net>2008-07-22 12:05:49 +0000
commit1da87c36ad655ddcfced4becb7972747fcbb89f6 (patch)
tree9bf3726fda21670b37821f76d197ba5fb63b2553 /src/attributes.cpp
parentslightly changed svgfonts example (diff)
downloadinkscape-1da87c36ad655ddcfced4becb7972747fcbb89f6.tar.gz
inkscape-1da87c36ad655ddcfced4becb7972747fcbb89f6.zip
initial handling of <script> tag
Some people develope SVG files that contain javascript. We should not erase their script nodes! Also, we could develop a scripting IDE in inkscape. Look at http://wiki.inkscape.org/wiki/index.php/BlueprintScriptingIDE (bzr r6391)
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index cfadab9c6..c67144692 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -59,6 +59,7 @@ static SPStyleProp const props[] = {
{SP_ATTR_PRESERVEASPECTRATIO, "preserveAspectRatio"},
{SP_ATTR_SODIPODI_VERSION, "sodipodi:version"},
{SP_ATTR_INKSCAPE_VERSION, "inkscape:version"},
+ {SP_ATTR_ONLOAD, "onload"},
/* SPNamedView */
{SP_ATTR_VIEWONLY, "viewonly"},
{SP_ATTR_SHOWGUIDES, "showguides"},