blob: dd73c02d9215a9ed1b3aba651820b5f8fc40920a [file] [log] [blame]
<html>
<head id="head">
<script>
if (window.internals && window.internals.settings)
window.internals.settings.setDeferredCSSParserEnabled(true);
</script>
<link rel=stylesheet type="text/css" href="resources/basic-sheet.css?1">
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body >
<script>
document.body.offsetWidth;
description("This tests deferred parsing of CSS style rules.");
debug('');
if (window.internals)
shouldBe("internals.deferredStyleRulesCount(document.styleSheets[0])", "2");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>