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, 2008 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2008 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 enum TableRules { UnsetRules, NoneRules, GroupsRules, RowsRules, ColsRules,
AllRules }; | 82 enum TableRules { UnsetRules, NoneRules, GroupsRules, RowsRules, ColsRules,
AllRules }; |
83 enum CellBorders { NoBorders, SolidBorders, InsetBorders, SolidBordersColsOn
ly, SolidBordersRowsOnly }; | 83 enum CellBorders { NoBorders, SolidBorders, InsetBorders, SolidBordersColsOn
ly, SolidBordersRowsOnly }; |
84 | 84 |
85 CellBorders cellBorders() const; | 85 CellBorders cellBorders() const; |
86 | 86 |
87 PassRefPtr<StylePropertySet> createSharedCellStyle(); | 87 PassRefPtr<StylePropertySet> createSharedCellStyle(); |
88 | 88 |
89 HTMLTableSectionElement* lastBody() const; | 89 HTMLTableSectionElement* lastBody() const; |
90 | 90 |
| 91 void setNeedsTableStyleRecalc() const; |
| 92 |
91 bool m_borderAttr; // Sets a precise border width and creates an ou
tset border for the table and for its cells. | 93 bool m_borderAttr; // Sets a precise border width and creates an ou
tset border for the table and for its cells. |
92 bool m_borderColorAttr; // Overrides the outset border and makes it soli
d for the table and cells instead. | 94 bool m_borderColorAttr; // Overrides the outset border and makes it soli
d for the table and cells instead. |
93 bool m_frameAttr; // Implies a thin border width if no border is s
et and then a certain set of solid/hidden borders based off the value. | 95 bool m_frameAttr; // Implies a thin border width if no border is s
et and then a certain set of solid/hidden borders based off the value. |
94 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor
der model, and all borders on the table becoming set to hidden (if frame/border | 96 TableRules m_rulesAttr; // Implies a thin border width, a collapsing bor
der model, and all borders on the table becoming set to hidden (if frame/border |
95 // are present, to none otherwise). | 97 // are present, to none otherwise). |
96 | 98 |
97 unsigned short m_padding; | 99 unsigned short m_padding; |
98 RefPtr<StylePropertySet> m_sharedCellStyle; | 100 RefPtr<StylePropertySet> m_sharedCellStyle; |
99 }; | 101 }; |
100 | 102 |
101 DEFINE_NODE_TYPE_CASTS(HTMLTableElement, hasTagName(HTMLNames::tableTag)); | 103 DEFINE_NODE_TYPE_CASTS(HTMLTableElement, hasTagName(HTMLNames::tableTag)); |
102 | 104 |
103 } //namespace | 105 } //namespace |
104 | 106 |
105 #endif | 107 #endif |
OLD | NEW |