From 56070ffc594722f4ec6ef3b1dea7d93ec0f14af7 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Tue, 13 Mar 2007 04:43:49 +0000 Subject: [PATCH] comment --- src/sp-object.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sp-object.cpp b/src/sp-object.cpp index b97aa4513..5c502c335 100644 --- a/src/sp-object.cpp +++ b/src/sp-object.cpp @@ -174,6 +174,10 @@ sp_object_init(SPObject *object) object->repr = NULL; object->id = NULL; + // FIXME: now we create style for all objects, but per SVG, only the following can have style attribute: + // vg, g, defs, desc, title, symbol, use, image, switch, path, rect, circle, ellipse, line, polyline, + // polygon, text, tspan, tref, textPath, altGlyph, glyphRef, marker, linearGradient, radialGradient, + // stop, pattern, clipPath, mask, filter, feImage, a, font, glyph, missing-glyph, foreignObject object->style = sp_style_new_from_object(object); object->_collection_policy = SPObject::COLLECT_WITH_PARENT; -- 2.30.2