SVG:Use: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 12: Line 12:
# event delivery to shadow instance tree
# event delivery to shadow instance tree


= Implemenatation Strategies =
= Implementation Strategies =


== No Frame Tree ==
== No Frame Tree ==

Revision as of 04:38, 8 December 2005

Mental Testcases

  1. svg:use to
    1. same document displayed content
    2. same document undisplayed content
    3. other document
  2. dynamic changes
    1. attribute change within used content
    2. style change inherited from ancestor of use
    3. tree structure changes within use
    4. addition/removal of use itself
  3. event delivery to shadow instance tree

Implementation Strategies

No Frame Tree

  1. remove multiple presentations
  2. Move SVG painting and event handling to content
    • ownership of style context also therefore goes to content
  3. Clone content for svg:use
  4. Let style contexts know they're held by content (bit)