| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| index c636b95df1b0f1364138f051ef8b7373683d0cbc..d3bdd9489f60cf86bd39125b4778424c5369c3fc 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| @@ -710,7 +710,7 @@ bool TextIteratorAlgorithm<Strategy>::handleReplacedElement()
|
| return false;
|
| }
|
| }
|
| - } else if (m_lastTextNodeEndedWithCollapsedSpace) {
|
| + } else if (m_lastTextNodeEndedWithCollapsedSpace && !isHTMLIFrameElement(toHTMLElement(*m_node))) {
|
| spliceBuffer(spaceCharacter, Strategy::parent(*m_lastTextNode), m_lastTextNode, 1, 1);
|
| return false;
|
| }
|
|
|