Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / remove-format-textdecoration-in-iframe.html
blob852e505d1ce3b72259d957acbace976fa73224b3
1 <!DOCTYPE html>
2 <html>
3 <script src="../../resources/dump-as-markup.js"></script>
4 <script>
5 function selectAndRemoveFormat()
7 document.designMode = 'on';
8 document.execCommand('SelectAll');
9 document.execCommand('RemoveFormat');
12 function dumpAfterCommand()
14 Markup.description('This testcase is to test crash scenario when designMode is set on document and RemoveFormat is called. Expected result is that crash should not happen and underline should be removed from all the selected text')
15 Markup.dump('container');
17 </script>
18 <body>
19 <div id="container" style="text-decoration: underline !important;">This Test should not crash.
20 <iframe onload="selectAndRemoveFormat()"></iframe>
21 <p>PASS</p>
22 </div>
23 <script>
24 dumpAfterCommand();
25 </script>
26 </body>
27 </html>