DescriptionChange the type of a SVG <use> element's shadow tree from "user agent" to "closed"
The SVG 2's spec is: https://svgwg.org/svg2-draft/struct.html#UseElement
Because SVG spec has been updated to clarify that SVG's <use> element should
use a shadow tree as its implementation, we must use the *standard* shadow tree
which DOM Standard defines its behavior. That is either an open shadow root or
a closed shadow root. It should not be a user-agent shadow root because it is UA's
internal concept.
Though the SVG spec says nothing about which type of Shadow Root should be
used, this CL chose "closed" because it is more compatible to the behavior of
user-agent shadow root. Eventually, the spec should clarify the type.
BUG=670572
Review-Url: https://codereview.chromium.org/2752763002
Cr-Commit-Position: refs/heads/master@{#457391}
Committed: https://chromium.googlesource.com/chromium/src/+/17fa68c396c45e6650df5dd2777a0112800ae61d
Patch Set 1 #
Total comments: 7
Patch Set 2 : Nit; fixed #Patch Set 3 : Rebased and resolve a conflict in HitTestResult #Dependent Patchsets: Messages
Total messages: 45 (29 generated)
|