| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 { | 71 bool isTableColumn() const { |
| 72 return style()->display() == EDisplay::TableColumn; | 72 return style()->display() == EDisplay::kTableColumn; |
| 73 } | 73 } |
| 74 bool isTableColumnGroup() const { | 74 bool isTableColumnGroup() const { |
| 75 return style()->display() == EDisplay::TableColumnGroup; | 75 return style()->display() == EDisplay::kTableColumnGroup; |
| 76 } | 76 } |
| 77 | 77 |
| 78 LayoutTableCol* enclosingColumnGroup() const; | 78 LayoutTableCol* enclosingColumnGroup() const; |
| 79 | 79 |
| 80 // Returns the next column or column-group. | 80 // Returns the next column or column-group. |
| 81 LayoutTableCol* nextColumn() const; | 81 LayoutTableCol* nextColumn() const; |
| 82 | 82 |
| 83 const BorderValue& borderAdjoiningCellStartBorder( | 83 const BorderValue& borderAdjoiningCellStartBorder( |
| 84 const LayoutTableCell*) const; | 84 const LayoutTableCell*) const; |
| 85 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) const; | 85 const BorderValue& borderAdjoiningCellEndBorder(const LayoutTableCell*) const; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 109 LayoutTable* table() const; | 109 LayoutTable* table() const; |
| 110 | 110 |
| 111 unsigned m_span; | 111 unsigned m_span; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); | 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutTableCol, isLayoutTableCol()); |
| 115 | 115 |
| 116 } // namespace blink | 116 } // namespace blink |
| 117 | 117 |
| 118 #endif | 118 #endif |
| OLD | NEW |