Source code
Revision control
Copy as Markdown
Other Tools
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="support/simple-style.css?pipe=trickle(d2)"?>
<head>
<script><![CDATA[
window.observedZIndex = getComputedStyle(document.documentElement).zIndex;
]]></script>
<title>xml-stylesheet blocks script execution and rendering</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io" />
<script src="/resources/testharness.js"/>
<script src="/resources/testharnessreport.js"/>
</head>
<body>
<script><![CDATA[
test(function() {
assert_equals(window.observedZIndex, "3", "XML processing instruction should've blocked script execution and rendering");
});
]]></script>
</body>
</html>