Changes between Initial Version and Version 1 of SVG TODO List - Short notes


Ignore:
Timestamp:
Dec 9, 2006 9:07:41 AM (17 years ago)
Author:
zimmermann@kde.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SVG TODO List - Short notes

    v1 v1  
     1This is a random collection of TODO items for ksvg2 in WebKit.[[BR]]
     2If any of this item is fixed, a proper bug report will be created,[[BR]]
     3until that happens, this is a good place to list certain items.[[BR]]
     4If you have any questions about these items, or want to help[[BR]]
     5with them, please contact rwlbuis/WildFox on irc.freenode.net, #webkit.[[BR]]
     6[[BR]]
     7Important, design changes:[[BR]][[BR]]
     8 * SVGLength* -> SVGLength (pass by value, not by pointer)[[BR]]
     9   Rewrite it to be more efficient, fix fraction/percentage issues[[BR]]
     10   with <pattern> and negative width/height fixies (hixie tests)[[BR]]
     11   Memory usage is twice as high as needed.[[BR]][[BR]]
     12 * SVGMatrix* -> AffineTransform (pass by value, not by pointer)[[BR]]
     13   Change AffineTransform for SVG needs, and kill the whole SVGMatrix stuff[[BR]][[BR]]
     14 * SVGAngle* -> SVGAngle (pass by value, not by pointer)[[BR]]
     15 * SVGPreserveAspectRatio* -> SVGPreserveAspectRatio (pass by value, not by pointer)[[BR]]
     16
     17JavaScript / ObjC SVG DOM issues:[[BR]]
     18 * SVGPoint/SVGRect/SVGNumber must be autogenerated. These are POD types[[BR]]
     19   (no pointers) and currently have hand written JS/ObjC wrappers. Kill those.[[BR]][[BR]]
     20 * SVGPoint/SVGRect/SVGNumber have assignment problems, ie. document.rootElement.viewBox.x.baseVal.value = 100[[BR]]
     21   won't work at the moment (ask WildFox for details). Possible solutions already in mind.[[BR]][[BR]]
     22  * Provide more SVG DOM JavaScript tests (ie. for SVGLength & friends)[[BR]]
     23
     24Gradient issues:[[BR]]
     25 * Linear/Radial gradient on text stroke are broken (if you select the text, you see it inverted!)[[BR]]
     26 * Linear gradients and Cg don't support spread methods (eek! this is important!)[[BR]]
     27
     28Pattern issues:[[BR]]
     29 * Patterns are implemented in an ugly way (see item above "Masks" on how to fix this)[[BR]]
     30
     31Mask issues:
     32 * Masks are disabled right now. We need "GraphicsContext" <-> "Image" bridging to[[BR]]
     33   render into Images directly.(ask Eric Seidel about this)[[BR]]
     34
     35General structure:[[BR]]
     36 * platform/graphics/svg must be moved into ksvg2/<whatever> (maybe "graphics").[[BR]]
     37 * ksvg2/ must be moved to svg/ (inside WebCore, as it is right now)[[BR]]
     38[[BR]][[BR]]
     39Last update: December 9th 2006.