HtmlFrameSetElement
Represents the HTML frameset element.
Obsolete since HTML 4.01.
using AngleSharp.Attributes;
using AngleSharp.Dom;
using AngleSharp.Text;
using System.Runtime.CompilerServices;
namespace AngleSharp.Html.Dom
{
[DomHistorical]
internal sealed class HtmlFrameSetElement : HtmlElement
{
public int Columns {
get {
return this.GetOwnAttribute(AttributeNames.Cols).ToInteger(1);
}
set {
this.SetOwnAttribute(AttributeNames.Cols, value.ToString(), false);
}
}
public int Rows {
get {
return this.GetOwnAttribute(AttributeNames.Rows).ToInteger(1);
}
set {
this.SetOwnAttribute(AttributeNames.Rows, value.ToString(), false);
}
}
[System.Runtime.CompilerServices.NullableContext(1)]
public HtmlFrameSetElement(Document owner, [System.Runtime.CompilerServices.Nullable(2)] string prefix = null)
: base(owner, TagNames.Frameset, prefix, NodeFlags.Special)
{
}
}
}