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

Side by Side Diff: Source/core/rendering/RenderBlock.cpp

Issue 79433004: Display anonymous regions in DRT (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 7 years 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
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) 2007 David Smith (catfish.man@gmail.com) 4 * (C) 2007 David Smith (catfish.man@gmail.com)
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
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 5678 matching lines...) Expand 10 before | Expand all | Expand 10 after
5689 // The child is perpendicular to us and box sides are never quirky in html.c ss, and we don't really care about 5689 // The child is perpendicular to us and box sides are never quirky in html.c ss, and we don't really care about
5690 // whether or not authors specified quirky ems, since they're an implementat ion detail. 5690 // whether or not authors specified quirky ems, since they're an implementat ion detail.
5691 return false; 5691 return false;
5692 } 5692 }
5693 5693
5694 const char* RenderBlock::renderName() const 5694 const char* RenderBlock::renderName() const
5695 { 5695 {
5696 if (isBody()) 5696 if (isBody())
5697 return "RenderBody"; // FIXME: Temporary hack until we know that the reg ression tests pass. 5697 return "RenderBody"; // FIXME: Temporary hack until we know that the reg ression tests pass.
5698 5698
5699 if (isRenderNamedFlowFragmentContainer())
5700 return "RenderRegion";
5701 if (isFloating()) 5699 if (isFloating())
5702 return "RenderBlock (floating)"; 5700 return "RenderBlock (floating)";
5703 if (isOutOfFlowPositioned()) 5701 if (isOutOfFlowPositioned())
5704 return "RenderBlock (positioned)"; 5702 return "RenderBlock (positioned)";
5705 if (isAnonymousColumnsBlock()) 5703 if (isAnonymousColumnsBlock())
5706 return "RenderBlock (anonymous multi-column)"; 5704 return "RenderBlock (anonymous multi-column)";
5707 if (isAnonymousColumnSpanBlock()) 5705 if (isAnonymousColumnSpanBlock())
5708 return "RenderBlock (anonymous multi-column span)"; 5706 return "RenderBlock (anonymous multi-column span)";
5709 if (isAnonymousBlock()) 5707 if (isAnonymousBlock())
5710 return "RenderBlock (anonymous)"; 5708 return "RenderBlock (anonymous)";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
5780 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const 5778 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const
5781 { 5779 {
5782 showRenderObject(); 5780 showRenderObject();
5783 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box()) 5781 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box())
5784 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1); 5782 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1);
5785 } 5783 }
5786 5784
5787 #endif 5785 #endif
5788 5786
5789 } // namespace WebCore 5787 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/platform/win/fast/repaint/region-painting-invalidation-expected.txt ('k') | Source/core/rendering/RenderRegion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698