| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <script src="../../resources/dump-as-markup.js"></script> | |
| <div id="test" contenteditable><table><tr><td><b>hello</b></td></tr><tr><td>world</td></tr></table></div> | |
| <script> | |
| Markup.description('This tests that RemoveFormat does not add extra span tags when executed inside a table cell.'); | |
| window.getSelection().selectAllChildren(document.getElementsByTagName('b')[0]); | |
| document.execCommand('RemoveFormat', false, null); | |
| Markup.dump('test'); | |
| </script> | |
| </body> | |
| </html> |