Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / nested-rule-parent-sheet.html
blob0b7cc62baa6b3645e3c91b38a8230d2f92b3aab0
1 <html>
2 <head>
3 <style>
4 @media screen {
5 @font-face {
6 src: local('Courier');
7 font-family: Courier;
10 </style>
11 <body>
12 <div id="console"></div>
14 <script>
15 if (window.testRunner)
16 testRunner.dumpAsText();
18 function log(message)
20 var console = document.getElementById("console");
21 console.appendChild(document.createTextNode(message + "\n"));
24 log("The parent sheet of a font face rule inside a media block should be defined: " + document.styleSheets[0].cssRules[0].cssRules[0].parentStyleSheet);
25 </script>