HTMLFrameOwnerElement
Represents the base class for frame owned elements.
namespace AngleSharp.DOM.Html
{
public abstract class HTMLFrameOwnerElement : HTMLElement
{
public bool CanContainRangeEndpoint { get; set; }
[DOM("width")]
public int Width {
get {
return Element.ToInteger(GetAttribute("width"), 0);
}
set {
SetAttribute("width", value.ToString());
}
}
[DOM("height")]
public int Height {
get {
return Element.ToInteger(GetAttribute("height"), 0);
}
set {
SetAttribute("height", value.ToString());
}
}
[DOM("marginWidth")]
public int MarginWidth {
get {
return Element.ToInteger(GetAttribute("marginwidth"), 0);
}
set {
SetAttribute("marginwidth", value.ToString());
}
}
[DOM("marginHeight")]
public int MarginHeight {
get {
return Element.ToInteger(GetAttribute("marginheight"), 0);
}
set {
SetAttribute("marginheight", value.ToString());
}
}
internal HTMLFrameOwnerElement()
{
}
}
}