HTMLTableSectionElement.h [plain text]
#ifndef HTMLTableSectionElement_h
#define HTMLTableSectionElement_h
#include "HTMLNames.h"
#include "HTMLTablePartElement.h"
namespace WebCore {
class HTMLTableSectionElement final : public HTMLTablePartElement {
public:
static PassRefPtr<HTMLTableSectionElement> create(const QualifiedName&, Document&);
PassRefPtr<HTMLElement> insertRow(ExceptionCode& ec) { return insertRow(-1, ec); }
PassRefPtr<HTMLElement> insertRow(int index, ExceptionCode&);
void deleteRow(int index, ExceptionCode&);
int numRows() const;
String align() const;
void setAlign(const String&);
String ch() const;
void setCh(const String&);
String chOff() const;
void setChOff(const String&);
String vAlign() const;
void setVAlign(const String&);
PassRefPtr<HTMLCollection> rows();
private:
HTMLTableSectionElement(const QualifiedName& tagName, Document&);
virtual const StyleProperties* additionalPresentationAttributeStyle() override;
};
inline bool isHTMLTableSectionElement(const Node& node)
{
return node.hasTagName(HTMLNames::theadTag) || node.hasTagName(HTMLNames::tfootTag) || node.hasTagName(HTMLNames::tbodyTag);
}
NODE_TYPE_CASTS(HTMLTableSectionElement)
}
#endif