| 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, 2009 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 public: | 61 public: |
| 62 explicit LayoutTableCol(Element*); | 62 explicit LayoutTableCol(Element*); |
| 63 | 63 |
| 64 void clearPreferredLogicalWidthsDirtyBits(); | 64 void clearPreferredLogicalWidthsDirtyBits(); |
| 65 | 65 |
| 66 // The 'span' attribute in HTML. | 66 // The 'span' attribute in HTML. |
| 67 // For CSS table columns or colgroups, this is always 1. | 67 // For CSS table columns or colgroups, this is always 1. |
| 68 unsigned span() const { return m_span; } | 68 unsigned span() const { return m_span; } |
| 69 | 69 |
| 70 bool isTableColumnGroupWithColumnChildren() { return firstChild(); } | 70 bool isTableColumnGroupWithColumnChildren() { return firstChild(); } |
| 71 bool isTableColumn() const { return style()->display() == TABLE_COLUMN; } | 71 bool isTableColumn() const { return style()->display() == EDisplay::TableCol
umn; } |
| 72 bool isTableColumnGroup() const { return style()->display() == TABLE_COLUMN_
GROUP; } | 72 bool isTableColumnGroup() const { return style()->display() == EDisplay::Tab
leColumnGroup; } |
| 73 | 73 |
| 74 LayoutTableCol* enclosingColumnGroup() const; | 74 LayoutTableCol* enclosingColumnGroup() const; |
| 75 | 75 |
| 76 // Returns the next column or column-group. | 76 // Returns the next column or column-group. |
| 77 LayoutTableCol* nextColumn() const; | 77 LayoutTableCol* nextColumn() const; |
| 78 | 78 |
| 79 const BorderValue& borderAdjoiningCellStartBorder(const LayoutTableCell*) co
nst; | 79 const BorderValue& borderAdjoiningCellStartBorder(const LayoutTableCell*) co
nst; |
| 80 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) cons
t; | 80 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) cons
t; |
| 81 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const; | 81 const BorderValue& borderAdjoiningCellBefore(const LayoutTableCell*) const; |
| 82 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const; | 82 const BorderValue& borderAdjoiningCellAfter(const LayoutTableCell*) const; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 102 LayoutTable* table() const; | 102 LayoutTable* table() const; |
| 103 | 103 |
| 104 unsigned m_span; | 104 unsigned m_span; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); | 107 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); |
| 108 | 108 |
| 109 } // namespace blink | 109 } // namespace blink |
| 110 | 110 |
| 111 #endif | 111 #endif |
| OLD | NEW |