Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: Source/core/layout/LayoutObject.cpp

Issue 1028383002: Enable new multicol for testing and experimental web platform features. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Need to mark virtual/slimmingpaint/svg/text/columns-do-not-apply.html as failing too. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutBlockFlow.cpp ('k') | Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutBlockFlow.cpp ('k') | Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698