blob: 1676432ffd21fb8fa9bdf01e0c54a3a45313564d [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
#test {
background-color: red;
height: 128px;
width: 128px;
}
</style>
<meta http-equiv="Content-Security-Policy" content="style-src *">
<link rel="stylesheet" href="../../fast/dom/HTMLLinkElement/resources/green-background-color.css">
</head>
<body>
<p>This tests that loading a stylesheet with a file URL is allowed when the page that is loaded from file URL has Content Security Policy &quot;style-src *&quot;. This test PASSED if you see a green square below. Otherwise, it FAILED.</p>
<div id="test"></div>
</body>
</html>