Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / stylesheet-parentStyleSheet.html
blobc37f3b7d46eb167466588cb3bcd91947f5efc676
1 <head>
2 <style>
3 @import url("data:text/css,#test{}");
4 </style>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function test() {
10 if (document.styleSheets[0].cssRules[0].styleSheet.parentStyleSheet == document.styleSheets[0])
11 document.getElementById('test').innerHTML = 'PASS';
13 </script>
14 <body onload='test()'>
15 Test that StyleSheet.parentStyleSheet works properly. You should see "PASS" below.
16 <div id="test">FAIL</div>