| 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 11 matching lines...) Expand all Loading... |
| 22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
| 23 */ | 23 */ |
| 24 | 24 |
| 25 #include "core/layout/LayoutTableCell.h" | 25 #include "core/layout/LayoutTableCell.h" |
| 26 | 26 |
| 27 #include "core/HTMLNames.h" | 27 #include "core/HTMLNames.h" |
| 28 #include "core/css/StylePropertySet.h" | 28 #include "core/css/StylePropertySet.h" |
| 29 #include "core/html/HTMLTableCellElement.h" | 29 #include "core/html/HTMLTableCellElement.h" |
| 30 #include "core/layout/LayoutAnalyzer.h" | 30 #include "core/layout/LayoutAnalyzer.h" |
| 31 #include "core/layout/LayoutTableCol.h" | 31 #include "core/layout/LayoutTableCol.h" |
| 32 #include "core/layout/LayoutView.h" | |
| 33 #include "core/layout/SubtreeLayoutScope.h" | 32 #include "core/layout/SubtreeLayoutScope.h" |
| 34 #include "core/paint/TableCellPainter.h" | 33 #include "core/paint/TableCellPainter.h" |
| 35 #include "core/style/CollapsedBorderValue.h" | 34 #include "core/style/CollapsedBorderValue.h" |
| 36 #include "platform/geometry/FloatQuad.h" | 35 #include "platform/geometry/FloatQuad.h" |
| 37 #include "platform/geometry/TransformState.h" | 36 #include "platform/geometry/TransformState.h" |
| 38 | 37 |
| 39 namespace blink { | 38 namespace blink { |
| 40 | 39 |
| 41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
| 42 | 41 |
| (...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 bool LayoutTableCell::backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localR
ect) const | 1009 bool LayoutTableCell::backgroundIsKnownToBeOpaqueInRect(const LayoutRect& localR
ect) const |
| 1011 { | 1010 { |
| 1012 // If this object has layer, the area of collapsed borders should be transpa
rent | 1011 // If this object has layer, the area of collapsed borders should be transpa
rent |
| 1013 // to expose the collapsed borders painted on the underlying layer. | 1012 // to expose the collapsed borders painted on the underlying layer. |
| 1014 if (hasLayer() && table()->collapseBorders()) | 1013 if (hasLayer() && table()->collapseBorders()) |
| 1015 return false; | 1014 return false; |
| 1016 return LayoutBlockFlow::backgroundIsKnownToBeOpaqueInRect(localRect); | 1015 return LayoutBlockFlow::backgroundIsKnownToBeOpaqueInRect(localRect); |
| 1017 } | 1016 } |
| 1018 | 1017 |
| 1019 } // namespace blink | 1018 } // namespace blink |
| OLD | NEW |