| Index: Source/core/editing/FormatBlockCommand.cpp
|
| diff --git a/Source/core/editing/FormatBlockCommand.cpp b/Source/core/editing/FormatBlockCommand.cpp
|
| index 1cd30e66c7fbf3194704a5474bcf78593e76382b..ef6ca4496f0aa00fc1a735393ba7b8ec73bccf86 100644
|
| --- a/Source/core/editing/FormatBlockCommand.cpp
|
| +++ b/Source/core/editing/FormatBlockCommand.cpp
|
| @@ -161,7 +161,7 @@ Node* enclosingBlockToSplitTreeTo(Node* startNode)
|
| return n;
|
| if (isBlock(n))
|
| lastBlock = n;
|
| - if (isListElement(n))
|
| + if (isHTMLListElement(n))
|
| return n->parentNode()->hasEditableStyle() ? n->parentNode() : n;
|
| }
|
| return lastBlock;
|
|
|