blob: 81bbb16def9b334bf4b509253eb154ce49b7eec2 [file] [log] [blame]
<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>