EditingText is a Text that always creates a renderer. It can be replaced by a bit.
Created attachment 175661 [details] patch
Created attachment 175666 [details] patch 2
Attachment 175666 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/CMakeLists.txt', u'Source/W..." exit_code: 1 Source/WebCore/editing/ReplaceSelectionCommand.cpp:55: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 175666 [details] patch 2 Attachment 175666 [details] did not pass win-ews (win): Output: http://queues.webkit.org/results/14960372
Comment on attachment 175666 [details] patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=175666&action=review > Source/WebCore/dom/Node.h:320 > + bool hasName() const { ASSERT(!isTextNode()); return getFlag(HasNameOrIsEditingTextFlag); } These two statements should probably be put in separate lines. > Source/WebCore/dom/Node.h:334 > + bool isEditingText() const { ASSERT(isTextNode()); return getFlag(HasNameOrIsEditingTextFlag); } Ditto. > Source/WebCore/dom/Node.h:336 > + void setHasName(bool f) { ASSERT(!isTextNode()); setFlag(f, HasNameOrIsEditingTextFlag); } Ditto.
http://trac.webkit.org/changeset/135529