HTMLTableCellElement.h [plain text]
#ifndef HTMLTableCellElement_h
#define HTMLTableCellElement_h
#include "HTMLTablePartElement.h"
namespace WebCore {
class HTMLTableCellElement final : public HTMLTablePartElement {
public:
static PassRefPtr<HTMLTableCellElement> create(const QualifiedName&, Document&);
int cellIndex() const;
int colSpan() const;
int rowSpan() const;
void setCellIndex(int);
void setColSpan(int);
void setRowSpan(int);
String abbr() const;
String axis() const;
String headers() const;
String scope() const;
HTMLTableCellElement* cellAbove() const;
private:
HTMLTableCellElement(const QualifiedName&, Document&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual bool isPresentationAttribute(const QualifiedName&) const override;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override;
virtual const StyleProperties* additionalPresentationAttributeStyle() override;
virtual bool isURLAttribute(const Attribute&) const override;
virtual void addSubresourceAttributeURLs(ListHashSet<URL>&) const override;
};
void isHTMLTableCellElement(const HTMLTableCellElement&); inline bool isHTMLTableCellElement(const Node& node) { return node.hasTagName(HTMLNames::tdTag) || node.hasTagName(HTMLNames::thTag); }
NODE_TYPE_CASTS(HTMLTableCellElement)
}
#endif