Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / live-cssrules.html
blobcf6009d71c26ac24e68a8d4d852193250e5b946a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>Test case for bug 17082</title>
5 <style type="text/css">
6 </style>
7 </head>
8 <body>
9 <script type="text/javascript">
10 var rules = document.styleSheets[0].cssRules;
11 document.styleSheets[0].insertRule("img { height: 40px; }", 0);
12 if (document.styleSheets[0].cssRules.length && rules.length) document.write("<p>Test: PASSED</p>"); else document.write("<p style=\"background-color:red;\">Test: FAILED</p>");
13 </script>
15 </body>
16 </html>