Bug 47574

Summary: FormatBlock doesn't restore the selection in some cases
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: ayg, enrica, tony
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Ryosuke Niwa 2010-10-12 23:14:18 PDT
Reductions:

Formatting "[<p>hello</p>worl]d" by h1 yields "<h1>hello<br>world]</h1>"
Formatting "\n[hello<p>world]</p>" by pre yields "<pre>[\nhello<br>worl]d</pre>"