SVG:Use: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 18: Line 18:
# remove multiple presentations
# remove multiple presentations
# Move SVG painting and event handling to content
# Move SVG painting and event handling to content
** ownership of style context also therefore goes to content
#* ownership of style context also therefore goes to content
# Clone content for svg:use
# Clone content for svg:use
# Let style contexts know they're held by content (bit)
# Let style contexts know they're held by content (bit)

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

Implemenatation 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)