| Buggy code before fix would insert blockquote after body element in second paste |
| | <html> |
| | <head> |
| | " |
| |
| " |
| | <style> |
| | " |
| .editing { |
| word-wrap: break-word; |
| -khtml-nbsp-mode: space; |
| -khtml-line-break: after-white-space; |
| } |
| " |
| | " |
| |
| " |
| | <title> |
| | "Editing Test" |
| | " |
| " |
| | " |
| " |
| | <body> |
| | class="editing" |
| | contenteditable="" |
| | id="test" |
| | " |
| " |
| | <div> |
| | "foo" |
| | <blockquote> |
| | "bar" |
| | "bazfoo" |
| | <blockquote> |
| | "bar" |
| | "baz<#selection-caret> |
| |
| " |
| | <script> |
| | src="../../resources/dump-as-markup.js" |
| | " |
| " |
| | <script> |
| | " |
| document.execCommand("SelectAll"); |
| document.execCommand("Cut"); |
| document.execCommand("Paste"); |
| document.execCommand("Paste"); |
| Markup.description("Buggy code before fix would insert blockquote after body element in second paste"); |
| Markup.dump(); |
| " |