Skip to content

Truly independent web browser

956 B
Raw Blame
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="support/simple-style.css?pipe=trickle(d2)"?>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <script><![CDATA[
      window.observedZIndex = getComputedStyle(document.documentElement).zIndex;
    ]]></script>
    <title>xml-stylesheet blocks script execution and rendering</title>
    <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1986042" />
    <link rel="author" title="Emilio Cobos Álvarez" href="mailto:[email protected]" />
    <link rel="author" title="Mozilla" href="https://mozilla.org" />
    <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>