Changeset 171162 in webkit
- Timestamp:
- Jul 16, 2014 6:04:22 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r171161 r171162 1 2014-07-16 Simon Fraser <simon.fraser@apple.com> 2 3 Improve showTree() logging 4 https://bugs.webkit.org/show_bug.cgi?id=134997 5 6 Reviewed by Tim Horton. 7 8 Have the debug showTree(), which dumps the Node/Element tree, show which nodes need 9 style recalc, and print element renderers. 10 11 * dom/Node.cpp: 12 (WebCore::Node::showNode): 13 1 14 2014-07-16 Simon Fraser <simon.fraser@apple.com> 2 15 -
trunk/Source/WebCore/dom/Node.cpp
r170828 r171162 1529 1529 appendAttributeDesc(this, attrs, classAttr, " CLASS="); 1530 1530 appendAttributeDesc(this, attrs, styleAttr, " STYLE="); 1531 fprintf(stderr, "%s%s\t%p %s\n", prefix, nodeName().utf8().data(), this, attrs.toString().utf8().data());1531 fprintf(stderr, "%s%s\t%p (renderer %p) %s%s%s\n", prefix, nodeName().utf8().data(), this, renderer(), attrs.toString().utf8().data(), needsStyleRecalc() ? " (needs style recalc)" : "", childNeedsStyleRecalc() ? " (child needs style recalc)" : ""); 1532 1532 } 1533 1533 }
Note: See TracChangeset
for help on using the changeset viewer.