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

Unified Diff: third_party/WebKit/Source/core/dom/Node.cpp

Issue 1637323002: Editing: Tidy up HTML document structure before execCommand(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
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..afdb772b0d94dc7ab43ba9e26eea6d334a3d1424 100644
--- a/third_party/WebKit/Source/core/dom/Node.cpp
+++ b/third_party/WebKit/Source/core/dom/Node.cpp
@@ -1534,6 +1534,8 @@ void Node::showNode(const char* prefix) const
appendAttributeDesc(this, attrs, idAttr, " ID");
appendAttributeDesc(this, attrs, classAttr, " CLASS");
appendAttributeDesc(this, attrs, styleAttr, " STYLE");
+ if (hasEditableStyle())
yosin_UTC9 2016/01/27 08:38:04 It seems this change is also in http://crrev.com/1
tkent 2016/01/27 08:48:37 oops. It's by accident.
+ attrs.appendLiteral(" (editable)");
WTFLogAlways("%s%s\t%p%s\n", prefix, nodeName().utf8().data(), this, attrs.toString().utf8().data());
}
}

Powered by Google App Engine
This is Rietveld 408576698