Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / cssom-modify-font-face-rule.html
blob345f3e4d2be3dfddcbe467f4b126e4d9040d3ad2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 document.body.offsetLeft;
7 document.styleSheets[0].cssRules[0].style.fontFamily = "f2";
9 </script>
10 </head>
11 <body onload="runTest()">
12 <style id="target">
13 @font-face {
14 font-family: f1;
15 font-weight: 100;
16 src: url(../../resources/Ahem.ttf);
18 </style>
19 <!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. -->
20 <span style="font-family: f1; font-weight: 100">A</span>
21 </body>
22 </html>