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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1106693002: Move the anonymous decoration to decoratedName. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutInline.cpp ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 42e24d180e37902637798d3b3d1ddc2e09387728..7a880de25b3076ac4881b488cd69c35f7c2c3341 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -1094,6 +1094,14 @@ String LayoutObject::decoratedName() const
StringBuilder name;
name.append(this->name());
+ if (isAnonymous())
+ name.append(" (anonymous)");
+ if (style()) {
+ if (isAnonymousColumnsBlock())
+ name.append(" (anonymous multi-column)");
+ if (isAnonymousColumnSpanBlock())
+ name.append(" (anonymous multi-column span)");
+ }
if (isOutOfFlowPositioned())
name.append(" (positioned)");
if (isRelPositioned())
« no previous file with comments | « Source/core/layout/LayoutInline.cpp ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698