- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Feb 2022 14:04:29 +0000
- To: public-svg-issues@w3.org
emilio has just created a new issue for https://github.com/w3c/svgwg: == <svg:use> shadow tree shouldn't be open. == https://www.w3.org/TR/SVG2/struct.html#UseShadowTree" > The shadow tree is open (inspectable by script), but read-only. Any attempt to directly modify the elements, attributes, and other nodes in the shadow tree must throw a NoModificationAllowedError. Reasons why this is bad: * Implementations might want to throw-away the tree and recreate it on some kinds of mutations. If it was inspectable by script we couldn't do it because it'd loose node identity. * Throwing on modification is error prone and requires very invasive changes to very hot code across the whole engine. * In all engines the shadow tree has always been closed. Most important reason is the second, IMO. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/875 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 25 February 2022 14:04:31 UTC