diff options
Diffstat (limited to 'WebCore/editing/EditCommand.cpp')
-rw-r--r-- | WebCore/editing/EditCommand.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/WebCore/editing/EditCommand.cpp b/WebCore/editing/EditCommand.cpp index fefe658..2301c54 100644 --- a/WebCore/editing/EditCommand.cpp +++ b/WebCore/editing/EditCommand.cpp @@ -195,18 +195,6 @@ bool EditCommand::isTypingCommand() const return false; } -PassRefPtr<CSSMutableStyleDeclaration> EditCommand::styleAtPosition(const Position &pos) -{ - RefPtr<CSSMutableStyleDeclaration> style = positionBeforeTabSpan(pos).computedStyle()->copyInheritableProperties(); - - // FIXME: It seems misleading to also include the typing style when returning the style at some arbitrary - // position in the document. - CSSMutableStyleDeclaration* typingStyle = document()->frame()->typingStyle(); - if (typingStyle) - style->merge(typingStyle); - - return style.release(); -} void EditCommand::updateLayout() const { |