| Index: Source/core/dom/Text.cpp
|
| diff --git a/Source/core/dom/Text.cpp b/Source/core/dom/Text.cpp
|
| index c6a2a9895ec07ce6625614f6c468152ef9bd4c69..91374055b597e1d980b6cf98f9b471daf386dcbb 100644
|
| --- a/Source/core/dom/Text.cpp
|
| +++ b/Source/core/dom/Text.cpp
|
| @@ -136,7 +136,7 @@ static const Text* earliestLogicallyAdjacentTextNode(const Text* t)
|
| {
|
| for (const Node* n = t->previousSibling(); n; n = n->previousSibling()) {
|
| Node::NodeType type = n->nodeType();
|
| - if (type == Node::TEXT_NODE || type == Node::CDATA_SECTION_NODE) {
|
| + if (type == Node::TEXT_NODE) {
|
| t = toText(n);
|
| continue;
|
| }
|
| @@ -150,7 +150,7 @@ static const Text* latestLogicallyAdjacentTextNode(const Text* t)
|
| {
|
| for (const Node* n = t->nextSibling(); n; n = n->nextSibling()) {
|
| Node::NodeType type = n->nodeType();
|
| - if (type == Node::TEXT_NODE || type == Node::CDATA_SECTION_NODE) {
|
| + if (type == Node::TEXT_NODE) {
|
| t = toText(n);
|
| continue;
|
| }
|
|
|