| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the render object implementation for KHTML. | 2 * This file is part of the render object implementation for KHTML. |
| 3 * | 3 * |
| 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 5 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 5 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 6 * Copyright (C) 2003 Apple Computer, Inc. | 6 * Copyright (C) 2003 Apple Computer, Inc. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 Length minHeight = child->style()->minHeight(); | 1001 Length minHeight = child->style()->minHeight(); |
| 1002 if (minHeight.isFixed() || minHeight.isAuto()) { | 1002 if (minHeight.isFixed() || minHeight.isAuto()) { |
| 1003 LayoutUnit minHeight = child->style()->minHeight().value(); | 1003 LayoutUnit minHeight = child->style()->minHeight().value(); |
| 1004 LayoutUnit height = contentHeightForChild(child); | 1004 LayoutUnit height = contentHeightForChild(child); |
| 1005 LayoutUnit allowedShrinkage = std::min<LayoutUnit>(0, minHeight - height
); | 1005 LayoutUnit allowedShrinkage = std::min<LayoutUnit>(0, minHeight - height
); |
| 1006 return allowedShrinkage; | 1006 return allowedShrinkage; |
| 1007 } | 1007 } |
| 1008 return 0; | 1008 return 0; |
| 1009 } | 1009 } |
| 1010 | 1010 |
| 1011 const char* LayoutDeprecatedFlexibleBox::name() const | |
| 1012 { | |
| 1013 if (isAnonymous()) | |
| 1014 return "LayoutDeprecatedFlexibleBox (anonymous)"; | |
| 1015 return "LayoutDeprecatedFlexibleBox"; | |
| 1016 } | |
| 1017 | |
| 1018 } // namespace blink | 1011 } // namespace blink |
| OLD | NEW |