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 Apple Inc. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. |
8 * All rights reserved. | 8 * All rights reserved. |
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 20 matching lines...) Expand all Loading... |
31 #include "core/html/HTMLTableCellElement.h" | 31 #include "core/html/HTMLTableCellElement.h" |
32 #include "core/layout/LayoutAnalyzer.h" | 32 #include "core/layout/LayoutAnalyzer.h" |
33 #include "core/layout/LayoutTableCol.h" | 33 #include "core/layout/LayoutTableCol.h" |
34 #include "core/layout/SubtreeLayoutScope.h" | 34 #include "core/layout/SubtreeLayoutScope.h" |
35 #include "core/paint/ObjectPaintInvalidator.h" | 35 #include "core/paint/ObjectPaintInvalidator.h" |
36 #include "core/paint/PaintLayer.h" | 36 #include "core/paint/PaintLayer.h" |
37 #include "core/paint/TableCellPainter.h" | 37 #include "core/paint/TableCellPainter.h" |
38 #include "core/style/CollapsedBorderValue.h" | 38 #include "core/style/CollapsedBorderValue.h" |
39 #include "platform/geometry/FloatQuad.h" | 39 #include "platform/geometry/FloatQuad.h" |
40 #include "platform/geometry/TransformState.h" | 40 #include "platform/geometry/TransformState.h" |
41 #include "wtf/PtrUtil.h" | 41 #include "platform/wtf/PtrUtil.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 using namespace HTMLNames; | 45 using namespace HTMLNames; |
46 | 46 |
47 struct SameSizeAsLayoutTableCell : public LayoutBlockFlow { | 47 struct SameSizeAsLayoutTableCell : public LayoutBlockFlow { |
48 unsigned bitfields; | 48 unsigned bitfields; |
49 int paddings[2]; | 49 int paddings[2]; |
50 void* pointer1; | 50 void* pointer1; |
51 }; | 51 }; |
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1481 } | 1481 } |
1482 | 1482 |
1483 bool LayoutTableCell::HasLineIfEmpty() const { | 1483 bool LayoutTableCell::HasLineIfEmpty() const { |
1484 if (GetNode() && HasEditableStyle(*GetNode())) | 1484 if (GetNode() && HasEditableStyle(*GetNode())) |
1485 return true; | 1485 return true; |
1486 | 1486 |
1487 return LayoutBlock::HasLineIfEmpty(); | 1487 return LayoutBlock::HasLineIfEmpty(); |
1488 } | 1488 } |
1489 | 1489 |
1490 } // namespace blink | 1490 } // namespace blink |
OLD | NEW |