LayoutTests/editing/styles/boldSelection.html need not be a pixel test because we do not need to test the rendering. But we must check whether we are adding b or style span. For this reason, this test must be converted to a dumpAsText. Furthermore, this test needs description on what it tests.
The test is under editing/execCommand instead of editing/style.
Created attachment 34228 [details] converts boldSelection.html to a dumpAsText test and adds description.
Comment on attachment 34228 [details] converts boldSelection.html to a dumpAsText test and adds description. Looks great! Thanks for splitting this out! Please fix the douplicate when landing: var selection = window.getSelection(); 22 var selection = window.getSelection();
Landed in http://trac.webkit.org/changeset/46860.