<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:xbl='http://www.w3.org/ns/xbl' 
      xmlns:xhtml='http://www.w3.org/1999/xhtml' >
  <head>
    <title>XBL 2.0 Test Suite: ...</title>
    <style type='text/css'>
     div { background-color: red; }
     #testb3 { background-color: green; }
    </style>
    <xbl xmlns="http://www.w3.org/ns/xbl" >
     <binding id="b1" element="testb1">
      <handlers>
       <handler id="hand1" key="Up">
	document.getElementById('testb1').setAttribute("style", "background-color: green");
       </handler>
      </handlers>
     </binding>
     <binding id="b2" element="testb2">
      <handlers>
       <handler id="hand2" key="U+0043">
	document.getElementById('testb2').setAttribute("style", "background-color: green");
       </handler>
      </handlers>
     </binding>
     <binding id="b3" element="testb3">
      <handlers>
       <handler id="hand2" key="U+0044">
	document.getElementById('testb3').setAttribute("style", "background-color: red");
       </handler>
      </handlers>
     </binding>
    </xbl>
  </head>
  <body>
   <div id="testb1">Press Up</div>
   <div id="testb2">Press capital C</div>
   <div id="testb3">This should stay green</div>
  </body>
</html>
