<body>
<script>
document.write("<link rel=stylesheet href='data:text/css,div{color:green}'>");
document.body.offsetWidth;
</script>
<div>PASS</div>