Bug 16004

Summary: FormatBlock leaves first letter incorrectly styled
Product: WebKit Reporter: Johan "Spocke" Sörlin <spocke>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: danny.bloemendaal, justin.garcia, mrowe, sullivan
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://tinymce.moxiecode.com/safari/formatblock.htm
Bug Depends on:    
Bug Blocks: 6627    

Description Johan "Spocke" Sörlin 2007-11-15 12:45:49 PST
Steps to reproduce.

1. Open the attached URL.
2. Place caret/cursor in the second editable paragraph.
3. Press the Format block link.
4. Observe the strange span that got added to the start of block element.
Comment 1 Mark Rowe (bdash) 2007-11-15 20:29:42 PST
Confirmed with WebKit 525.1+ on Mac OS X 10.5.  Thanks for the simple test case!
Comment 2 Mark Rowe (bdash) 2007-11-15 20:31:02 PST
<rdar://problem/5604313>
Comment 3 Justin Garcia 2008-04-23 16:17:54 PDT
I have a fix for this out for review.
Comment 4 Justin Garcia 2008-04-24 10:44:53 PDT
Fixed in http://trac.webkit.org/projects/webkit/changeset/32497
Comment 5 Maciej Stachowiak 2008-11-04 11:31:14 PST
*** Bug 21505 has been marked as a duplicate of this bug. ***