chromium/third_party/blink/web_tests/fast/css/empty-script.html

<head>
<script>
function runTest()
{
  if (window.testRunner)
    testRunner.dumpAsText();
  var stylesheet = document.createElement('style');
  stylesheet.type = 'text/css';
  stylesheet.rel = 'stylesheet';
  document.getElementsByTagName("head")[0].appendChild(stylesheet);
  if (stylesheet.sheet != null)
      document.getElementById("result").innerHTML = "valid StyleSheet interface.";
}
</script>
</head>
<body onload="runTest()">
<div id="result">No stylesheet.</div>
</body>