| 1 | This is a random collection of TODO items for ksvg2 in WebKit.[[BR]] |
| 2 | If any of this item is fixed, a proper bug report will be created,[[BR]] |
| 3 | until that happens, this is a good place to list certain items.[[BR]] |
| 4 | If you have any questions about these items, or want to help[[BR]] |
| 5 | with them, please contact rwlbuis/WildFox on irc.freenode.net, #webkit.[[BR]] |
| 6 | [[BR]] |
| 7 | Important, 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 | |
| 17 | JavaScript / 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 | |
| 24 | Gradient 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 | |
| 28 | Pattern issues:[[BR]] |
| 29 | * Patterns are implemented in an ugly way (see item above "Masks" on how to fix this)[[BR]] |
| 30 | |
| 31 | Mask 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 | |
| 35 | General 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]] |
| 39 | Last update: December 9th 2006. |