| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index 405626d58eee2af4fcfb56cc1c1df90f662223e0..2fdef0d6f4c2df421c2d426cbdd4efe7ec8bfde2 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -1529,11 +1529,17 @@ void Node::showNode(const char* prefix) const
|
| value.replaceWithLiteral('\\', "\\\\");
|
| value.replaceWithLiteral('\n', "\\n");
|
| WTFLogAlways("%s%s\t%p \"%s\"\n", prefix, nodeName().utf8().data(), this, value.utf8().data());
|
| + } else if (isDocumentTypeNode()) {
|
| + WTFLogAlways("%sDOCTYPE %s\t%p\n", prefix, nodeName().utf8().data(), this);
|
| + } else if (nodeType() == PROCESSING_INSTRUCTION_NODE) {
|
| + WTFLogAlways("%s?%s\t%p\n", prefix, nodeName().utf8().data(), this);
|
| } else {
|
| StringBuilder attrs;
|
| appendAttributeDesc(this, attrs, idAttr, " ID");
|
| appendAttributeDesc(this, attrs, classAttr, " CLASS");
|
| appendAttributeDesc(this, attrs, styleAttr, " STYLE");
|
| + if (hasEditableStyle())
|
| + attrs.appendLiteral(" (editable)");
|
| WTFLogAlways("%s%s\t%p%s\n", prefix, nodeName().utf8().data(), this, attrs.toString().utf8().data());
|
| }
|
| }
|
|
|