Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-insertBefore.html
blob14f1c707dbee63bf40e195290d517e347d489aae
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 var newStyle = document.createElement('style');
7 newStyle.innerHTML = "@font-face { font-family: f1; font-weight: 100; src: local('Courier New'); }";
8 document.body.offsetLeft;
9 document.body.insertBefore(newStyle, document.getElementById('target'));
11 </script>
12 </head>
13 <body onload="runTest()">
14 <style id="target">
15 @font-face {
16 font-family: f1;
17 font-weight: 100;
18 src: url(../../resources/Ahem.ttf);
20 </style>
21 <span style="font-family: f1; font-weight: 100">A</span>
22 </body>
23 </html>