Backed out my last change (r15966) because it broke lots of layout tests.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2006 00:23:50 +0000 (00:23 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Aug 2006 00:23:50 +0000 (00:23 +0000)
        * editing/TextIterator.cpp:
        (WebCore::TextIterator::advance):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/editing/TextIterator.cpp

index 0ec596ade6d5997fcaed340a1b8797e5c8f3fa2a..e57846926866567faed8d2ac9b6b7dedc4b107cc 100644 (file)
@@ -1,3 +1,10 @@
+2006-08-22  David Harrison  <harrison@apple.com>
+
+        Backed out my last change (r15966) because it broke lots of layout tests.
+
+        * editing/TextIterator.cpp:
+        (WebCore::TextIterator::advance):
+
 2006-08-22  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Anders.
index 966ad2b4d25ea0daae415feea7d7b5cc6b11e089..21181fc788b3497df2b4f141b73bf4cb5a0c55a7 100644 (file)
@@ -157,7 +157,7 @@ void TextIterator::advance()
                 // FIXME: What about CDATA_SECTION_NODE?
                 if (renderer->style()->visibility() == VISIBLE)
                     m_handledNode = handleTextNode();
-            } else if (renderer && (renderer->isImage() || renderer->isWidget() || (renderer->element() && renderer->element()->isControl()))) {
+            } else if (renderer && (renderer->isImage() || renderer->isWidget())) {
                 if (renderer->style()->visibility() == VISIBLE)
                     m_handledNode = handleReplacedElement();
             } else