Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: third_party/WebKit/Source/core/svg/SVGElement.h

Issue 2633143002: SVG objects with same idrefs conflict when under different shadow root (Closed)
Patch Set: Tests Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGElement.h b/third_party/WebKit/Source/core/svg/SVGElement.h
index 9edb14d39d76144a48dbb5fb1d43180f6e2a02f9..5b6f69ceb879a3f6c3b4a3d376042c9fb4e8a863 100644
--- a/third_party/WebKit/Source/core/svg/SVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGElement.h
@@ -58,6 +58,10 @@ class CORE_EXPORT SVGElement : public Element {
int tabIndex() const override;
bool supportsFocus() const override { return false; }
+ // The TreeScope this element should resolve id's against. This differs from
+ // the regular Node::treeScope() by taking <use> into account.
+ TreeScope& treeScopeForIdResolution() const;
+
bool isOutermostSVGSVGElement() const;
bool hasTagName(const SVGQualifiedName& name) const {

Powered by Google App Engine
This is Rietveld 408576698