1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet type="text/css" href="resources/xorigincss6.html"?>
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 if (window.testRunner) {
7 testRunner.waitUntilDone();
8 testRunner.dumpAsText();
11 window.onload = function() {
12 ele = document.getElementById("id1");
13 // For now, simply test that an invalid MIME type (HTML) is rejected due to
14 // strict mode. It doesn't matter if we test same-origin or cross-origin.
15 ele.innerText = "XML CSS Same-origin, HTML, valid: " + window.getComputedStyle(ele, null).getPropertyValue('background-color');
17 if (window.testRunner)
18 testRunner.notifyDone();
22 <body><div id="id1"></div></body>