| 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, 2007, 2008, 2009, 2010, 2013 | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2013 |
| 8 * Apple Inc. | 8 * Apple Inc. |
| 9 * All rights reserved. | 9 * All rights reserved. |
| 10 * | 10 * |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "core/layout/LayoutTableRow.h" | 27 #include "core/layout/LayoutTableRow.h" |
| 28 | 28 |
| 29 #include "core/HTMLNames.h" | 29 #include "core/HTMLNames.h" |
| 30 #include "core/layout/HitTestResult.h" | 30 #include "core/layout/HitTestResult.h" |
| 31 #include "core/layout/LayoutAnalyzer.h" | 31 #include "core/layout/LayoutAnalyzer.h" |
| 32 #include "core/layout/LayoutState.h" | 32 #include "core/layout/LayoutState.h" |
| 33 #include "core/layout/LayoutTableCell.h" | 33 #include "core/layout/LayoutTableCell.h" |
| 34 #include "core/layout/LayoutView.h" | 34 #include "core/layout/LayoutView.h" |
| 35 #include "core/layout/SubtreeLayoutScope.h" | 35 #include "core/layout/SubtreeLayoutScope.h" |
| 36 #include "core/paint/TableRowPainter.h" | 36 #include "core/paint/TableRowPainter.h" |
| 37 #include "core/style/StyleInheritedData.h" | |
| 38 | 37 |
| 39 namespace blink { | 38 namespace blink { |
| 40 | 39 |
| 41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
| 42 | 41 |
| 43 LayoutTableRow::LayoutTableRow(Element* element) | 42 LayoutTableRow::LayoutTableRow(Element* element) |
| 44 : LayoutTableBoxComponent(element), row_index_(kUnsetRowIndex) { | 43 : LayoutTableBoxComponent(element), row_index_(kUnsetRowIndex) { |
| 45 // init LayoutObject attributes | 44 // init LayoutObject attributes |
| 46 SetInline(false); // our object is not Inline | 45 SetInline(false); // our object is not Inline |
| 47 } | 46 } |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 // won't fit but we avoid the complexity of that reading until it | 325 // won't fit but we avoid the complexity of that reading until it |
| 327 // is clarified. Tracked by crbug.com/675904 | 326 // is clarified. Tracked by crbug.com/675904 |
| 328 if (RowIndex()) | 327 if (RowIndex()) |
| 329 return false; | 328 return false; |
| 330 LayoutTableSection* header = Table()->Header(); | 329 LayoutTableSection* header = Table()->Header(); |
| 331 return header && Table()->SectionAbove(Section()) == header && | 330 return header && Table()->SectionAbove(Section()) == header && |
| 332 header->GetPaginationBreakability() != kAllowAnyBreaks; | 331 header->GetPaginationBreakability() != kAllowAnyBreaks; |
| 333 } | 332 } |
| 334 | 333 |
| 335 } // namespace blink | 334 } // namespace blink |
| OLD | NEW |