AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.6.0" />

.NET API 844,288 bytes

 HTMLMapElement

Represents the HTML map element.
using AngleSharp.DOM.Collections; using AngleSharp.DOM.Css; namespace AngleSharp.DOM.Html { internal sealed class HTMLMapElement : HTMLElement, IHtmlMapElement, IHtmlElement, IElement, INode, IEventTarget, IParentNode, IChildNode, IElementCssInlineStyle { public string Name { get { return GetAttribute(AttributeNames.Name); } set { SetAttribute(AttributeNames.Name, value); } } public IHtmlCollection Areas => new HtmlCollection<IHtmlAreaElement>(this, false, null); public IHtmlCollection Images => new HtmlCollection<IHtmlImageElement>(base.Owner.DocumentElement, true, IsAssociatedImage); internal HTMLMapElement() { _name = Tags.Map; } private bool IsAssociatedImage(IHtmlImageElement image) { string useMap = image.UseMap; if (!string.IsNullOrEmpty(useMap)) { string b = (useMap[0] == '#') ? ('#' + Name) : Name; return useMap == b; } return false; } } }