| Index: Source/core/layout/LayoutCounter.cpp
|
| diff --git a/Source/core/layout/LayoutCounter.cpp b/Source/core/layout/LayoutCounter.cpp
|
| index 290e784bac912d43c383e8a580e254796c2e64db..bbf56a1569af7379d5970f57edafe940fc846abe 100644
|
| --- a/Source/core/layout/LayoutCounter.cpp
|
| +++ b/Source/core/layout/LayoutCounter.cpp
|
| @@ -103,10 +103,6 @@ static LayoutObject* nextInPreOrder(const LayoutObject& object, const Element* s
|
|
|
| static bool planCounter(LayoutObject& object, const AtomicString& identifier, bool& isReset, int& value)
|
| {
|
| - // Real text nodes don't have their own style so they can't have counters.
|
| - // We can't even look at their styles or we'll see extra resets and increments!
|
| - if (object.isText() && !object.isBR())
|
| - return false;
|
| Node* generatingNode = object.generatingNode();
|
| // We must have a generating node or else we cannot have a counter.
|
| if (!generatingNode)
|
|
|