Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / query-font-size-with-typing-style.html
blob1771289884d4d0169c9ebac52135f026ccc46faf
1 <html>
2 <body>
3 <p>This tests querying font size when there is a typing style. WebKit should not crash and you should see 'PASS':</p>
4 <span id="test" contenteditable><br></span>
5 <script type="text/javascript">
7 if (window.testRunner)
8 testRunner.dumpAsText();
10 window.getSelection().collapse(document.getElementById('test').firstChild, 0);
11 document.execCommand('bold', false, null);
12 document.queryCommandValue('fontSize');
13 document.getElementById('test').innerHTML = 'PASS';
15 </script>
16 </body>
17 </html>