| <div id=editor contenteditable><font face="Hiragino Kaku Gothic ProN">hello</font></div> |
| <script src="../../resources/dump-as-markup.js"></script> |
| Markup.description('This tests copying and pasting text with a font that influences the used line-height value.\n' |
| + 'To manually test, copy and paste the selected content below. WebKit should not generate line-height property in the pasted content.') |
| var editor = document.getElementById('editor'); |
| document.execCommand('selectAll', false, null); |
| if (document.queryCommandEnabled('paste')) { |
| document.execCommand('copy', false, null); |
| document.execCommand('paste', false, null); |
| document.onpaste = function () { setTimeout(dumpEditor, 0); } |