editing/inserting/insert-3659587-fix.html and editing/style/style-3690704-fix.html should use runDumpAsTextEditingTest() instead of runEditingTest().
Created attachment 67270 [details] Patch
Comment on attachment 67270 [details] Patch It is very hard for me to tell what editing/inserting/insert-3659587-fix.html is testing, but it seems like having the DOM with <br>s is sufficient.
(In reply to comment #2) > (From update of attachment 67270 [details]) > It is very hard for me to tell what editing/inserting/insert-3659587-fix.html is testing, but it seems like having the DOM with <br>s is sufficient. Indeed. The test was added in http://trac.webkit.org/changeset/6826/trunk/LayoutTests/editing/inserting/insert-3659587-fix.html with a very cryptic changelog.
Bug 3659587 was: STEPS TO REPRODUCE: 1. Open a new document in Blot. Type "hello" 2. select all with cmd-a. make bold with shift-cmd-b. 3. press right arrow to move caret to end of line. type " hello" (text is bold) 4. press return key. type "world" RESULTS: On the second line, "world" is in regular text, not bold text. "world" should also be bold.
(In reply to comment #4) > Bug 3659587 was: > > STEPS TO REPRODUCE: > 1. Open a new document in Blot. Type "hello" > 2. select all with cmd-a. make bold with shift-cmd-b. > 3. press right arrow to move caret to end of line. type " hello" (text is bold) > 4. press return key. type "world" > > RESULTS: > On the second line, "world" is in regular text, not bold text. "world" should also be bold. Thanks for the information, Darin! I'll add the following description before I commit: Test that inserting a line break will preserve bolding. All of the text below should be bold.
Committed r67277: <http://trac.webkit.org/changeset/67277>