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. All rights
reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 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 18 matching lines...) Expand all Loading... |
29 #include "core/css/StylePropertySet.h" | 29 #include "core/css/StylePropertySet.h" |
30 #include "core/html/HTMLTableCellElement.h" | 30 #include "core/html/HTMLTableCellElement.h" |
31 #include "core/layout/LayoutAnalyzer.h" | 31 #include "core/layout/LayoutAnalyzer.h" |
32 #include "core/layout/LayoutTableCol.h" | 32 #include "core/layout/LayoutTableCol.h" |
33 #include "core/layout/LayoutView.h" | 33 #include "core/layout/LayoutView.h" |
34 #include "core/layout/SubtreeLayoutScope.h" | 34 #include "core/layout/SubtreeLayoutScope.h" |
35 #include "core/paint/TableCellPainter.h" | 35 #include "core/paint/TableCellPainter.h" |
36 #include "core/style/CollapsedBorderValue.h" | 36 #include "core/style/CollapsedBorderValue.h" |
37 #include "platform/geometry/FloatQuad.h" | 37 #include "platform/geometry/FloatQuad.h" |
38 #include "platform/geometry/TransformState.h" | 38 #include "platform/geometry/TransformState.h" |
39 #include "platform/graphics/GraphicsContextStateSaver.h" | |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 using namespace HTMLNames; | 42 using namespace HTMLNames; |
44 | 43 |
45 struct SameSizeAsLayoutTableCell : public LayoutBlockFlow { | 44 struct SameSizeAsLayoutTableCell : public LayoutBlockFlow { |
46 unsigned bitfields; | 45 unsigned bitfields; |
47 int paddings[2]; | 46 int paddings[2]; |
48 }; | 47 }; |
49 | 48 |
(...skipping 985 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 | 1034 |
1036 LayoutTableCell* LayoutTableCell::createAnonymousWithParent(const LayoutObject*
parent) | 1035 LayoutTableCell* LayoutTableCell::createAnonymousWithParent(const LayoutObject*
parent) |
1037 { | 1036 { |
1038 LayoutTableCell* newCell = LayoutTableCell::createAnonymous(&parent->documen
t()); | 1037 LayoutTableCell* newCell = LayoutTableCell::createAnonymous(&parent->documen
t()); |
1039 RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisp
lay(parent->styleRef(), TABLE_CELL); | 1038 RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisp
lay(parent->styleRef(), TABLE_CELL); |
1040 newCell->setStyle(newStyle.release()); | 1039 newCell->setStyle(newStyle.release()); |
1041 return newCell; | 1040 return newCell; |
1042 } | 1041 } |
1043 | 1042 |
1044 } // namespace blink | 1043 } // namespace blink |
OLD | NEW |