DescriptionUse CorrespondingUseElement() in SVGElement::TreeScopeForIdResolution
For elements sourced non-locally, CorrespondingElement() will give the
TreeScope of the document it was sourced from rather than the TreeScope
of the <use> element. Until we are able to resolve references at
ComputedStyle resolution, attempt to use the host of the shadow tree,
i.e the (outermost) <use> element. (This will not work when external
paint servers are supported, or with a paint server defined in the
referenced document.)
BUG=721167
Review-Url: https://codereview.chromium.org/2877973002
Cr-Commit-Position: refs/heads/master@{#471955}
Committed: https://chromium.googlesource.com/chromium/src/+/6d8df7c57b4cc1beb9816b7379d88a48650dd507
Patch Set 1 #
Messages
Total messages: 18 (12 generated)
|