| Index: Source/core/editing/commands/IndentOutdentCommand.cpp
|
| diff --git a/Source/core/editing/commands/IndentOutdentCommand.cpp b/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| index 4f51c32df5dc7a15a5a190650b87a2b6fefe6fb9..2a48370d5e0d5b8c306bf628ef08178d5a36321c 100644
|
| --- a/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| +++ b/Source/core/editing/commands/IndentOutdentCommand.cpp
|
| @@ -48,6 +48,12 @@ static bool isHTMLListOrBlockquoteElement(const Node* node)
|
| return isHTMLUListElement(element) || isHTMLOListElement(element) || element.hasTagName(blockquoteTag);
|
| }
|
|
|
| +static bool isInline(const Node* node)
|
| +{
|
| + return node && node->layoutObject() && node->layoutObject()->isInline();
|
| +}
|
| +
|
| +
|
| IndentOutdentCommand::IndentOutdentCommand(Document& document, EIndentType typeOfAction)
|
| : ApplyBlockElementCommand(document, blockquoteTag, "margin: 0 0 0 40px; border: none; padding: 0px;")
|
| , m_typeOfAction(typeOfAction)
|
|
|