Re: [svgwg] Use element re-write & related changes

@adanilo 

I appreciate the input, but I think that it's a little late to reverse
 course.  Certainly, you'd need to convince the Blink team, who have 
already moved ahead unilaterally with many of the Shadow DOM changes.

Quite frankly, with the movement of geometry to CSS, including the 
potential to inherit a variable that changes geometry, I don't see 
much performance benefit in _not_ having distinct clones.  All 
rendering & layout information will need to be calculated 
independently for the instances.  Event handling and interaction was 
also always supposed to be independent.

I recognize that the remaining mirroring behavior is still a pain, but
 it should help that dynamic style changes will no longer need to be 
propagated.  Similarly, animations will be mirrored by mirroring the 
original animation instructions, rather than by propagating animated 
values.  So this should make it easier to run animations or any type 
on independent threads.  Only actual DOM changes, new event listeners,
 and new animation objects will force the two trees to sync.

I've suggested elsewhere ( #184 ) that I'd like to add a toggle 
attribute to `<use>` elements to create unlinked, independent clones, 
but that will have to wait for a future spec.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/svgwg/pull/206#issuecomment-234438239 using 
your GitHub account

Received on Friday, 22 July 2016 02:23:25 UTC