W3C home > Mailing lists > Public > www-svg@w3.org > January 2014

Removing the SVG instance tree (SVG2 issue 51)

From: Philip Rogers <pdr@google.com>
Date: Tue, 7 Jan 2014 20:24:28 -0500
Message-ID: <CAJgFLLvfwgmZy3ewxJQwSetakpD1sAqyHv1aiJNdWC8tkDVuOA@mail.gmail.com>
To: "www-svg@w3.org" <www-svg@w3.org>
Cc: Tab Atkins <tabatkins@google.com>, Florin Malita <fmalita@google.com>, Stephen Chenney <schenney@google.com>, Erik Dahlstrom <ed@opera.com>

Can we remove the instance tree in SVG2?

Over the holidays I implemented SVG's <use> in terms of pure web
components. This works well and <use>+web components will vastly simplify
the SVG2 spec. Unfortunately, the instance tree is incompatible with shadow
dom and I'd like to propose removing the instance tree.

For users, the instance tree has not been popular. I added a counter to
Chrome's usage statistics in http://crbug.com/313438 and found zero users
of instanceRoot. I searched all of github and found only 9
of correspondingElement.

For implementors, the instance tree is slow and riddled with tricky
security concerns (we call it the <use-after-free> element in Chrome). It
does not look like Gecko will implement the instance tree (

Can we unify on the event model used by shadow dom and drop the instance

Received on Wednesday, 8 January 2014 01:25:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:50 UTC