Skip to content

Commit baefd46

Browse files
author
ArthurHub
committed
* handle case for GetElementRectangle
1 parent ea0d66a commit baefd46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Source/HtmlRenderer/HtmlContainer.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ public string GetLinkAt(Point location)
471471
{
472472
ArgChecker.AssertArgNotNullOrEmpty(elementId, "elementId");
473473

474-
var box = DomUtils.GetBoxById(_root, elementId);
474+
var box = DomUtils.GetBoxById(_root, elementId.ToLower());
475475
return box != null ? CommonUtils.GetFirstValueOrDefault(box.Rectangles, box.Bounds) : (RectangleF?)null;
476476
}
477477

0 commit comments

Comments
 (0)