| 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 1873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1884 if (!child->isAnonymous() || child->style()->styleType() != NOPSEUDO) | 1884 if (!child->isAnonymous() || child->style()->styleType() != NOPSEUDO) |
| 1885 continue; | 1885 continue; |
| 1886 | 1886 |
| 1887 if (blockChildrenOnly && !child->isLayoutBlock()) | 1887 if (blockChildrenOnly && !child->isLayoutBlock()) |
| 1888 continue; | 1888 continue; |
| 1889 | 1889 |
| 1890 if (child->isLayoutFullScreen() || child->isLayoutFullScreenPlaceholder(
)) | 1890 if (child->isLayoutFullScreen() || child->isLayoutFullScreenPlaceholder(
)) |
| 1891 continue; | 1891 continue; |
| 1892 | 1892 |
| 1893 RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisp
lay(styleRef(), child->style()->display()); | 1893 RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisp
lay(styleRef(), child->style()->display()); |
| 1894 if (!document().regionBasedColumnsEnabled()) { | 1894 if (!RuntimeEnabledFeatures::regionBasedColumnsEnabled()) { |
| 1895 if (style()->specifiesColumns()) { | 1895 if (style()->specifiesColumns()) { |
| 1896 if (child->style()->specifiesColumns()) | 1896 if (child->style()->specifiesColumns()) |
| 1897 newStyle->inheritColumnPropertiesFrom(styleRef()); | 1897 newStyle->inheritColumnPropertiesFrom(styleRef()); |
| 1898 if (child->style()->columnSpan()) | 1898 if (child->style()->columnSpan()) |
| 1899 newStyle->setColumnSpan(ColumnSpanAll); | 1899 newStyle->setColumnSpan(ColumnSpanAll); |
| 1900 } | 1900 } |
| 1901 } | 1901 } |
| 1902 | 1902 |
| 1903 // Preserve the position style of anonymous block continuations as they
can have relative position when | 1903 // Preserve the position style of anonymous block continuations as they
can have relative position when |
| 1904 // they contain block descendants of relative positioned inlines. | 1904 // they contain block descendants of relative positioned inlines. |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3230 { | 3230 { |
| 3231 if (object1) { | 3231 if (object1) { |
| 3232 const blink::LayoutObject* root = object1; | 3232 const blink::LayoutObject* root = object1; |
| 3233 while (root->parent()) | 3233 while (root->parent()) |
| 3234 root = root->parent(); | 3234 root = root->parent(); |
| 3235 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3235 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
| 3236 } | 3236 } |
| 3237 } | 3237 } |
| 3238 | 3238 |
| 3239 #endif | 3239 #endif |
| OLD | NEW |