blob: 98e0174bb40984f5acf29b9f1ff904cd0486c50a [file] [log] [blame]
<html>
<head>
<script language='javascript'>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
if (document.styleSheets[0].title == "basic" &&
document.styleSheets[1].title == "basic") {
document.getElementById("q").title = "advanced";
if (document.styleSheets[1].title == "advanced")
document.getElementById('result').innerHTML = 'SUCCESS';
}
}
</script>
<link media="all" href="foo.css" rel="stylesheet" title="basic">
<style type="text/css" id="q" title="basic">
#foo {
background-color: #66CCFF;
}
</style>
</head>
<body onload="runTest()">
<p>Test setting of the title of stylesheets for both &lt;link&gt; and &lt;style&gt; elements. See bug #11824.</p>
<div id="result">FAILURE</div>
</body>
</html>