| Index: third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp
|
| index 357042e7ddeaaabf824f137b3173099da0551836..93eae7b806730ca98630dfc82b81aff883031f53 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIteratorTest.cpp
|
| @@ -934,4 +934,12 @@ TEST_F(TextIteratorTest, StartAtRemainingTextInPre) {
|
| EXPECT_EQ("xyz", String(buffer.Data()));
|
| }
|
|
|
| +TEST_F(TextIteratorTest, VisitsDisplayContentsChildren) {
|
| + SetBodyContent(
|
| + "<p>Hello, \ntext</p><p style='display: contents'>iterator.</p>");
|
| +
|
| + EXPECT_EQ("[Hello, ][text][iterator.]", Iterate<DOMTree>());
|
| + EXPECT_EQ("[Hello, ][text][iterator.]", Iterate<FlatTree>());
|
| +}
|
| +
|
| } // namespace blink
|
|
|