| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
| 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 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1089 name.append(this->name()); | 1089 name.append(this->name()); |
| 1090 | 1090 |
| 1091 if (isAnonymous()) | 1091 if (isAnonymous()) |
| 1092 name.append(" (anonymous)"); | 1092 name.append(" (anonymous)"); |
| 1093 if (isOutOfFlowPositioned()) | 1093 if (isOutOfFlowPositioned()) |
| 1094 name.append(" (positioned)"); | 1094 name.append(" (positioned)"); |
| 1095 if (isRelPositioned()) | 1095 if (isRelPositioned()) |
| 1096 name.append(" (relative positioned)"); | 1096 name.append(" (relative positioned)"); |
| 1097 if (isFloating()) | 1097 if (isFloating()) |
| 1098 name.append(" (floating)"); | 1098 name.append(" (floating)"); |
| 1099 if (spannerPlaceholder()) |
| 1100 name.append(" (column spanner)"); |
| 1099 | 1101 |
| 1100 return name.toString(); | 1102 return name.toString(); |
| 1101 } | 1103 } |
| 1102 | 1104 |
| 1103 String LayoutObject::debugName() const | 1105 String LayoutObject::debugName() const |
| 1104 { | 1106 { |
| 1105 StringBuilder name; | 1107 StringBuilder name; |
| 1106 name.append(decoratedName()); | 1108 name.append(decoratedName()); |
| 1107 | 1109 |
| 1108 if (const Node* node = this->node()) { | 1110 if (const Node* node = this->node()) { |
| (...skipping 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3307 const blink::LayoutObject* root = object1; | 3309 const blink::LayoutObject* root = object1; |
| 3308 while (root->parent()) | 3310 while (root->parent()) |
| 3309 root = root->parent(); | 3311 root = root->parent(); |
| 3310 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3312 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
| 3311 } else { | 3313 } else { |
| 3312 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); | 3314 fprintf(stderr, "Cannot showLayoutTree. Root is (nil)\n"); |
| 3313 } | 3315 } |
| 3314 } | 3316 } |
| 3315 | 3317 |
| 3316 #endif | 3318 #endif |
| OLD | NEW |