Bug 94731 - FormatBlock clones a paragraph when executed inside a pre
Summary: FormatBlock clones a paragraph when executed inside a pre
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2012-08-22 11:13 PDT by Ryosuke Niwa
Modified: 2012-08-22 11:13 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2012-08-22 11:13:23 PDT
http://code.google.com/p/chromium/issues/detail?id=141603

Reduction:
<div contenteditable>
<pre>
<p>para a</p>
<p>para b</p>
</pre>
</div>

Run document.execCommand('formatblock', false, 'blockquote') in the blank line between "para a" and "para b".