blob: 7d990e9b9018afd005d5e1014cdb04890d8d7fb8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="style-src 'unsafe-inline'; 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 ? 'PASS' : 'FAIL');
</script>
</body>
</html>