Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: LayoutTests/editing/execCommand/resources/format-block-crash-iframe.html

Issue 182533004: Fix crash in CompositeEditCommand::cloneParagraphUnderNewElement(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>FormatBlock crash test case</title>
5 </head>
6 <!-- This is a minified version of the clusterfuzz test case at https://code.goo gle.com/p/chromium/issues/detail?id=345005 -->
7 <body style="display: table-row;">
8 <script>
9 function run()
10 {
11 document.designMode = 'on';
12 document.execCommand('SelectAll');
13 document.execCommand('FormatBlock', false, '<' + 'div>');
14 window.setTimeout(notifyFinish, 0);
15 }
16
17 function notifyFinish()
18 {
19 window.parent.postMessage('FINISH', '*');
20 }
21
22 window.setTimeout(run, 0);
23 </script>
24 <span contenteditable="true" style="display: table-caption;"></span>
25 <span></span>
26 <div style="display: -webkit-inline-box;"><span><span>B</span></span></div>
27 <div></div>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/editing/execCommand/format-block-crash-expected.txt ('k') | Source/core/editing/CompositeEditCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698