-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=67765 Patch by Shinya Kawanaka <shinyak@google.com> on 2011-09-09 Reviewed by Ryosuke Niwa. WebCore::enclosingBlock may return null, but ApplyStyleCommand::applyBlockStyle did not check it. This patch make it to be checked. Source/WebCore: Test: editing/style/remove-format-without-enclosing-block.html * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::applyBlockStyle): Added null check. LayoutTests: * editing/style/remove-format-without-enclosing-block-expected.txt: Added. * editing/style/remove-format-without-enclosing-block.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
fddb7234