<?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: Content test: apply-binding-sheets</title>
  <style type="text/css">
   #text1 { background-color: red; }
   #text2 { background-color: green; }
   #text3 { background-color: green; }
  </style>
  <xbl xmlns="http://www.w3.org/ns/xbl">
   <binding element="#text1">
    <template>
     <content apply-binding-sheets="true"/>
    </template>
    <resources>
     <style>
      .correct1 { background-color: green; }
     </style>
    </resources>
   </binding>
   <binding element="#text2">
    <template>
     <content apply-binding-sheets="false"/>
    </template>
    <resources>
     <style>
      .wrong2 { background-color: red; }
     </style>
    </resources>
   </binding>
   <binding element="#text3">
    <template>
     <content apply-binding-sheets="invalid-value == false"/>
    </template>
    <resources>
     <style>
      .wrong3 { background-color: red; }
     </style>
    </resources>
   </binding>
  </xbl>
 </head>
 <body>
  <span id="text1" ><span class="correct1">This should be green</span></span>
  <br/>
  <span id="text2" ><span class="wrong2">This should be green</span></span>
  <br/>
  <span id="text3" ><span class="wrong3">This should be green</span></span>
 </body>
</html>
