-
commit-queue@webkit.org authored
Reviewed by Darin Adler. contentEditable formatBlock crashes on divs with contenteditable="false" https://bugs.webkit.org/show_bug.cgi?id=53263 Add test for executing a formatBlock command on a selection containing an element with contenteditable=false. * editing/execCommand/format-block-contenteditable-false-expected.txt: Added. * editing/execCommand/format-block-contenteditable-false.html: Added. 2011-01-27 Emil A Eklund <eae@chromium.org> Reviewed by Darin Adler. contentEditable formatBlock crashes on divs with contenteditable="false" https://bugs.webkit.org/show_bug.cgi?id=53263 Check if editableRootForPosition returns null for position. Test: editing/execCommand/format-block-contenteditable-false.html * editing/FormatBlockCommand.cpp: (WebCore::FormatBlockCommand::formatRange): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c79b7be0