Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / insert-u-with-text-decoration-none.html
blob6c5a1c3156704c9e610e2991f1c7919a368b40cd
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="container"><div contenteditable>&nbsp;WebKit</div></div>
5 <div id="content"><u style="text-decoration: none;">hello </u><u style="text-decoration: line-through;">world</u></div>
6 <script src="../../resources/dump-as-markup.js"></script>
7 <script>
9 Markup.description('This tests inserting an u element with text-decoration property set to none.\n'
10 + 'WebKit should not strip just font-size property. Two instances of "hello world" should look identical to each other.');
12 Markup.dump('container', 'Insertion point');
14 var content = document.getElementById('content');
15 Markup.dump(content, 'Content to insert');
17 document.querySelector('div[contenteditable]').focus();
18 document.execCommand('InsertHTML', null, content.innerHTML);
20 Markup.dump('container', 'After insertion');
22 </script>
23 </body>
24 </html>