Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / non-html-document.html
blobd7940484ffbb9394afee7ca38bab1eaf2f64102c
1 <!DOCTYPE html>
2 <script src='../../resources/js-test.js'></script>
3 <script>
4 description("Non HTMLDocument such as XMLDocument shouldn't support execCommand");
6 var xmldoc = window.document.implementation.createDocument('http://www.w3.org/1999/xlink', 'html', null);
7 shouldThrow("xmldoc.execCommand('bold')");
8 shouldThrow("xmldoc.queryCommandEnabled('bold')");
9 shouldThrow("xmldoc.queryCommandIndeterm('bold')");
10 shouldThrow("xmldoc.queryCommandState('bold')");
11 shouldThrow("xmldoc.queryCommandSupported('bold')");
12 shouldThrow("xmldoc.queryCommandValue('bold')");
13 </script>