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

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: Created 7 years, 1 month 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 5681 matching lines...) Expand 10 before | Expand all | Expand 10 after
5692 // The child is perpendicular to us and box sides are never quirky in html.c ss, and we don't really care about 5692 // The child is perpendicular to us and box sides are never quirky in html.c ss, and we don't really care about
5693 // whether or not authors specified quirky ems, since they're an implementat ion detail. 5693 // whether or not authors specified quirky ems, since they're an implementat ion detail.
5694 return false; 5694 return false;
5695 } 5695 }
5696 5696
5697 const char* RenderBlock::renderName() const 5697 const char* RenderBlock::renderName() const
5698 { 5698 {
5699 if (isBody()) 5699 if (isBody())
5700 return "RenderBody"; // FIXME: Temporary hack until we know that the reg ression tests pass. 5700 return "RenderBody"; // FIXME: Temporary hack until we know that the reg ression tests pass.
5701 5701
5702 if (isRenderNamedFlowFragmentContainer())
5703 return "RenderRegion";
5704 if (isFloating()) 5702 if (isFloating())
5705 return "RenderBlock (floating)"; 5703 return "RenderBlock (floating)";
5706 if (isOutOfFlowPositioned()) 5704 if (isOutOfFlowPositioned())
5707 return "RenderBlock (positioned)"; 5705 return "RenderBlock (positioned)";
5708 if (isAnonymousColumnsBlock()) 5706 if (isAnonymousColumnsBlock())
5709 return "RenderBlock (anonymous multi-column)"; 5707 return "RenderBlock (anonymous multi-column)";
5710 if (isAnonymousColumnSpanBlock()) 5708 if (isAnonymousColumnSpanBlock())
5711 return "RenderBlock (anonymous multi-column span)"; 5709 return "RenderBlock (anonymous multi-column span)";
5712 if (isAnonymousBlock()) 5710 if (isAnonymousBlock())
5713 return "RenderBlock (anonymous)"; 5711 return "RenderBlock (anonymous)";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
5783 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const 5781 void RenderBlock::showLineTreeAndMark(const InlineBox* markedBox1, const char* m arkedLabel1, const InlineBox* markedBox2, const char* markedLabel2, const Render Object* obj) const
5784 { 5782 {
5785 showRenderObject(); 5783 showRenderObject();
5786 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box()) 5784 for (const RootInlineBox* root = firstRootBox(); root; root = root->nextRoot Box())
5787 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1); 5785 root->showLineTreeAndMark(markedBox1, markedLabel1, markedBox2, markedLa bel2, obj, 1);
5788 } 5786 }
5789 5787
5790 #endif 5788 #endif
5791 5789
5792 } // namespace WebCore 5790 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698