blob: c2f6b80cd8baa2c39ec26dcc651946d8dccc7aa0 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="style-src 'none'; script-src 'unsafe-inline'">
<style>
.target {
background-color: blue;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</head>
<body class="target">
<script>
document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS');
</script>
</body>
</html>