blob: 956c9b50c4bdad1a33880dc613d2ab8b61f16283 [file] [log] [blame]
<?xml-stylesheet href="resources/small.css" title="style" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<div id="result">FAIL</div>
<script type="text/javascript">
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = function() {
document.documentElement.appendChild(document.styleSheets[0].ownerNode);
// Note: xml stylesheet is only valid when its parent is the document
if (document.styleSheets.length == 0)
document.getElementById('result').innerText = 'PASS';
if (window.testRunner)
testRunner.notifyDone();
};
</script>
</html>