PASS document.queryCommandEnabled('DefaultParagraphSeparator') is true PASS document.queryCommandValue('DefaultParagraphSeparator') is "div" document.execCommand('DefaultParagraphSeparator', false, 'p') PASS document.queryCommandValue('DefaultParagraphSeparator') is "p" document.execCommand('DefaultParagraphSeparator', false, 'br') PASS document.queryCommandValue('DefaultParagraphSeparator') is "p" document.execCommand('DefaultParagraphSeparator', false, 'invalid') PASS document.queryCommandValue('DefaultParagraphSeparator') is "p" Creating paragraphs in the normal way. document.execCommand('InsertText', false, 'a') PASS div.innerHTML is "a" document.execCommand('InsertText', false, '\n') PASS div.innerHTML is "a


" document.execCommand('InsertText', false, 'b') PASS div.innerHTML is "a

b

" document.execCommand('InsertText', false, '\n') PASS div.innerHTML is "a

b


" document.execCommand('Delete') PASS div.innerHTML is "a

b

" document.execCommand('Delete') PASS div.innerHTML is "a


" document.execCommand('Delete') PASS div.innerHTML is "a" document.execCommand('DefaultParagraphSeparator', false, 'div') document.execCommand('InsertParagraph') PASS div.innerHTML is "a

" div.innerHTML = '' Using the previous block as template for the new one. document.execCommand('DefaultParagraphSeparator', false, 'p') document.execCommand("InsertHTML", false, "
a
"); PASS div.innerHTML is "
a
" document.execCommand('InsertText', false, 'b') PASS div.innerHTML is "
ab
" document.execCommand('InsertText', false, '\n') PASS div.innerHTML is "
ab

" document.execCommand('InsertText', false, 'c') PASS div.innerHTML is "
ab
c
" document.execCommand('DefaultParagraphSeparator', false, 'div') document.execCommand('InsertText', false, '\n') PASS div.innerHTML is "
ab
c

" document.execCommand('Delete') document.execCommand('InsertParagraph') PASS div.innerHTML is "
ab
c

" Breaking out of lists. div.innerHTML = '' document.execCommand('DefaultParagraphSeparator', false, 'p') document.execCommand("InsertHTML", false, "") PASS div.innerHTML is "" document.execCommand('InsertParagraph') document.execCommand('InsertParagraph') PASS div.innerHTML is "


" Breaking up nested elements. div.innerHTML = '' document.execCommand("InsertHTML", false, "abc") window.getSelection().modify("move", "backward", "character") document.execCommand('InsertParagraph') PASS div.innerHTML is "ab

c

" PASS successfullyParsed is true TEST COMPLETE