dom/xbl/test/file_bug379959_cross.html
author James Kolb <jck1089@gmail.com>
Mon, 13 Jan 2014 13:29:48 +1300
changeset 163085 a956cec79aadb296926c3264cc301405dec75c73
parent 163082 243259fda9aba5900ae1492c991a0e7a541a584d
child 262521 58e1f5749c0918b372ed5d484829f579429685d5
permissions -rw-r--r--
Bug 603488 part 3: Modified DrawTargetSkia to accept non-skia sourcesurfaces. r=nrc

<!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/dom/xbl/test/file_bug379959_xbl.xml#xbltest);
}
</style>
<body>
<div id="div1"></div>
<div id="div2"></div>
<script>
onload = function() {
  nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div1'));
  parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
  nodes = SpecialPowers.wrap(document).getAnonymousNodes(document.getElementById('div2'));
  parent.postMessage(nodes ? nodes.length : 0, "http://mochi.test:8888");
}
</script>
</html>