| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 } | 251 } |
| 252 | 252 |
| 253 void RenderDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren) | 253 void RenderDeprecatedFlexibleBox::layoutBlock(bool relayoutChildren) |
| 254 { | 254 { |
| 255 ASSERT(needsLayout()); | 255 ASSERT(needsLayout()); |
| 256 | 256 |
| 257 if (!relayoutChildren && simplifiedLayout()) | 257 if (!relayoutChildren && simplifiedLayout()) |
| 258 return; | 258 return; |
| 259 | 259 |
| 260 LayoutRepainter repainter(*this, checkForRepaintDuringLayout()); | 260 LayoutRepainter repainter(*this, checkForRepaintDuringLayout()); |
| 261 LayoutStateMaintainer statePusher(this, locationOffset(), hasTransform() ||
hasReflection() || style()->isFlippedBlocksWritingMode()); | 261 LayoutStateMaintainer statePusher(this, locationOffset()); |
| 262 | 262 |
| 263 RenderFlowThread* flowThread = flowThreadContainingBlock(); | 263 RenderFlowThread* flowThread = flowThreadContainingBlock(); |
| 264 if (updateRegionsAndShapesLogicalSize(flowThread)) | 264 if (updateRegionsAndShapesLogicalSize(flowThread)) |
| 265 relayoutChildren = true; | 265 relayoutChildren = true; |
| 266 | 266 |
| 267 LayoutSize previousSize = size(); | 267 LayoutSize previousSize = size(); |
| 268 | 268 |
| 269 updateLogicalWidth(); | 269 updateLogicalWidth(); |
| 270 updateLogicalHeight(); | 270 updateLogicalHeight(); |
| 271 | 271 |
| (...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 if (isPseudoElement()) | 1078 if (isPseudoElement()) |
| 1079 return "RenderDeprecatedFlexibleBox (generated)"; | 1079 return "RenderDeprecatedFlexibleBox (generated)"; |
| 1080 if (isAnonymous()) | 1080 if (isAnonymous()) |
| 1081 return "RenderDeprecatedFlexibleBox (generated)"; | 1081 return "RenderDeprecatedFlexibleBox (generated)"; |
| 1082 if (isRelPositioned()) | 1082 if (isRelPositioned()) |
| 1083 return "RenderDeprecatedFlexibleBox (relative positioned)"; | 1083 return "RenderDeprecatedFlexibleBox (relative positioned)"; |
| 1084 return "RenderDeprecatedFlexibleBox"; | 1084 return "RenderDeprecatedFlexibleBox"; |
| 1085 } | 1085 } |
| 1086 | 1086 |
| 1087 } // namespace WebCore | 1087 } // namespace WebCore |
| OLD | NEW |