Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / queryCommandValue-unsupported-commands.html
blobfc966f645f28f89fe2358244f2ed663a41c7286a
1 <!DOCTYPE html>
2 <html>
3 <script src="../../resources/js-test.js"></script>
4 <div id="test" contenteditable></div>
5 <script>
6 description("Tests queryCommandValue returns empty string for unsupported commands");
8 var test = document.getElementById('test');
9 test.focus();
10 document.execCommand('fontSize', false, 5);
11 shouldBe("document.queryCommandValue('foofoo')", "''");
12 shouldBe("typeof document.queryCommandValue('foofoo')", "'string'");
13 shouldBe("document.queryCommandValue('fontSize')", "'5'");
14 shouldBe("typeof document.queryCommandValue('fontSize')", "'string'");
15 </script>
16 </html>