Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / font-face-remove.html
blob9f76e80bd388232a5943b4d7438506caa2592124
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 function runTest() {
6 var target = document.getElementById('target');
7 document.body.offsetLeft;
8 target.parentNode.removeChild(target);
10 </script>
11 </head>
12 <body onload="runTest()">
13 <style id="target">
14 @font-face {
15 font-family: f1;
16 font-weight: 100;
17 src: url(../../resources/Ahem.ttf);
19 </style>
20 <!-- crbug.com/305885: when removing stylesheets, consider @font-face rules. -->
21 <span style="font-family: f1; font-weight: 100">A</span>
22 </body>
23 </html>