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

Unified Diff: third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.h

Issue 1454623002: Hit test SVG line boxes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add forgotten test. Sorry, test! Created 5 years, 1 month 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/layout/svg/line/SVGRootInlineBox.h
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.h b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.h
index 525a1cf0e696ace5768cc33c93c08473e1145cfe..cf5d704cf8b5b2b008df3be8632fda629aa79533 100644
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.h
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.h
@@ -49,6 +49,8 @@ public:
InlineBox* closestLeafChildForPosition(const LayoutPoint&);
+ bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, LayoutUnit lineTop, LayoutUnit lineBottom) final;
+
private:
void reorderValueLists(Vector<SVGTextLayoutAttributes*>&);
void layoutChildBoxes(InlineFlowBox*, LayoutRect* = nullptr);

Powered by Google App Engine
This is Rietveld 408576698