OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2010 Apple Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 unsigned colSpan() const; | 42 unsigned colSpan() const; |
43 unsigned rowSpan() const; | 43 unsigned rowSpan() const; |
44 | 44 |
45 void setCellIndex(int); | 45 void setCellIndex(int); |
46 | 46 |
47 const AtomicString& abbr() const; | 47 const AtomicString& abbr() const; |
48 const AtomicString& axis() const; | 48 const AtomicString& axis() const; |
49 void setColSpan(unsigned); | 49 void setColSpan(unsigned); |
50 const AtomicString& headers() const; | 50 const AtomicString& headers() const; |
51 void setRowSpan(unsigned); | 51 void setRowSpan(unsigned); |
52 const AtomicString& scope() const; | |
53 void setScope(const AtomicString&); | |
54 | 52 |
55 private: | 53 private: |
56 HTMLTableCellElement(const QualifiedName&, Document&); | 54 HTMLTableCellElement(const QualifiedName&, Document&); |
57 | 55 |
58 void parseAttribute(const QualifiedName&, | 56 void parseAttribute(const QualifiedName&, |
59 const AtomicString&, | 57 const AtomicString&, |
60 const AtomicString&) override; | 58 const AtomicString&) override; |
61 bool isPresentationAttribute(const QualifiedName&) const override; | 59 bool isPresentationAttribute(const QualifiedName&) const override; |
62 void collectStyleForPresentationAttribute(const QualifiedName&, | 60 void collectStyleForPresentationAttribute(const QualifiedName&, |
63 const AtomicString&, | 61 const AtomicString&, |
64 MutableStylePropertySet*) override; | 62 MutableStylePropertySet*) override; |
65 const StylePropertySet* additionalPresentationAttributeStyle() override; | 63 const StylePropertySet* additionalPresentationAttributeStyle() override; |
66 | 64 |
67 bool isURLAttribute(const Attribute&) const override; | 65 bool isURLAttribute(const Attribute&) const override; |
68 bool hasLegalLinkAttribute(const QualifiedName&) const override; | 66 bool hasLegalLinkAttribute(const QualifiedName&) const override; |
69 const QualifiedName& subResourceAttributeName() const override; | 67 const QualifiedName& subResourceAttributeName() const override; |
70 }; | 68 }; |
71 | 69 |
72 inline bool isHTMLTableCellElement(const HTMLElement& element) { | 70 inline bool isHTMLTableCellElement(const HTMLElement& element) { |
73 return element.hasTagName(HTMLNames::tdTag) || | 71 return element.hasTagName(HTMLNames::tdTag) || |
74 element.hasTagName(HTMLNames::thTag); | 72 element.hasTagName(HTMLNames::thTag); |
75 } | 73 } |
76 | 74 |
77 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTableCellElement); | 75 DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTableCellElement); |
78 | 76 |
79 } // namespace blink | 77 } // namespace blink |
80 | 78 |
81 #endif // HTMLTableCellElement_h | 79 #endif // HTMLTableCellElement_h |
OLD | NEW |