Source code

Revision control

Copy as Markdown

Other Tools

// For documentation of the format, see README in this directory.
var browserTests = [
['<div contenteditable="true"><table><tr><td><ol><li>a</li><li>{}</li></ol></td><td>b</td></tr></table></div>',
[["delete",""]],
'<div contenteditable="true"><table><tbody><tr><td><ol><li>a</li></ol></td><td>b</td></tr></tbody></table></div>',
[true],
{"delete":[false,false,"",false,false,""]}],
['<div contenteditable="true"><table><tr><td><ul><li>a</li><li>{}</li></ul></td><td>b</td></tr></table></div>',
[["delete",""]],
'<div contenteditable="true"><table><tbody><tr><td><ul><li>a</li></ul></td><td>b</td></tr></tbody></table></div>',
[true],
{"delete":[false,false,"",false,false,""]}],
['<div contenteditable="true"><table><tr><td><ol><li>{}</li></ol></td></tr></table></div></table></div>',
[["delete",""]],
'<div contenteditable="true"><table><tbody><tr><td><div><br></div></td></tr></tbody></table></div>',
[true],
{"delete":[false,false,"",false,false,""]}],
['<div contenteditable="true"><table><tr><td><ul><li>{}</li></ul></td></tr></table></div></table></div>',
[["delete",""]],
'<div contenteditable="true"><table><tbody><tr><td><div><br></div></td></tr></tbody></table></div>',
[true],
{"delete":[false,false,"",false,false,""]}],
]