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(AttributeNames.Width), 0);
}
set {
SetAttribute(AttributeNames.Width, value.ToString());
}
}
[DOM("height")]
public int Height {
get {
return Element.ToInteger(GetAttribute(AttributeNames.Height), 0);
}
set {
SetAttribute(AttributeNames.Height, value.ToString());
}
}
[DOM("marginWidth")]
public int MarginWidth {
get {
return Element.ToInteger(GetAttribute(AttributeNames.MarginWidth), 0);
}
set {
SetAttribute(AttributeNames.MarginWidth, value.ToString());
}
}
[DOM("marginHeight")]
public int MarginHeight {
get {
return Element.ToInteger(GetAttribute(AttributeNames.MarginHeight), 0);
}
set {
SetAttribute(AttributeNames.MarginHeight, value.ToString());
}
}
internal HTMLFrameOwnerElement()
{
}
}
}