Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / insert-font-weight.html
blob5b610615948e9efc1f938d632ff74c7b56010aa7
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="container" contenteditable="true"></div>
5 <div id="content"><span style="font-weight: lighter;">hello</span><span style="font-weight: bolder;">world</span></div>
6 <script src="../../resources/dump-as-markup.js"></script>
7 <script>
8 Markup.description('This tests inserting elements with font-weight set to lighter and bolder values');
10 var content = document.getElementById('content');
11 Markup.dump(content, 'Content to insert');
13 document.querySelector('div[contenteditable]').focus();
14 document.execCommand('InsertHTML', null, content.innerHTML);
16 Markup.dump('container', 'After insertion');
17 </script>
18 </body>
19 </html>