Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / fast / css / nested-rule-parent-sheet.html
blob7d42f1f88b53b397709a4d2b7f1296ec2a7fafcf
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.layoutTestController)
16 layoutTestController.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>