content/xbl/test/file_bug379959_cross.html
author Igor Bukanov <igor@mir2.org>
Fri, 20 Jun 2008 11:46:36 +0200
changeset 15452 056158a4c1e84b8621d066d1d4f1fc92db37ae06
parent 14902 da3a8e06916f8c2ecdf7c50892d6a7eab75326c2
child 39054 b4372055f473cb39d74dbe97e0206dd61ccc2547
permissions -rw-r--r--
Backed out changeset 97977f224aff due to build breakage

<!DOCTYPE HTML>
<html>
<head>
<style>
#div1 {
  color: green;
  -moz-binding: url(file_bug379959_xbl.xml#xbltest);
}
#div2 {
  color: green;
  -moz-binding: url(http://example.com/tests/content/xbl/test/file_bug379959_xbl.xml#xbltest);
}
</style>
<body>
<div id="div1"></div>
<div id="div2"></div>
<script>
onload = function() {
  nodes = document.getAnonymousNodes(document.getElementById('div1'));
  parent.postMessage(nodes ? nodes.length : 0, "http://localhost:8888");
  nodes = document.getAnonymousNodes(document.getElementById('div2'));
  parent.postMessage(nodes ? nodes.length : 0, "http://localhost:8888");
}
</script>
</html>